please choosego to mobile | Continue to access the PC version
View: 11540|Reply: 2

How to Change The Orangepi User name

[Copy link]

5

threads

12

posts

81

credits

Registered member

Rank: 2

credits
81
Published in 2015-10-31 02:42:40 | Show all floors |Read mode
The User account does not have to be Orangepi...
You can change the account name by running the following two lines.

As root execute the following:
           Where myname is the new account name
usermod -l myname orangepi
usermod -m -d /home/myname myname

You must not be logged on as OrangepiWhile you are at it change the passwd....  As root execute the following:
passwd myname

1

threads

7

posts

73

credits

Registered member

Rank: 2

credits
73
Published in 2015-10-31 03:52:36 | Show all floors
oh, thanks.
Reply

Use magic report

5

threads

12

posts

81

credits

Registered member

Rank: 2

credits
81
 Author| Published in 2015-11-2 07:59:23 | Show all floors
Your are Welcome...
changing the User Account name is easier than adding another account.
It is also safer not to have a Default Name. A hacker then needs only to guess the  password.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list