rss
email
twitter
facebook

March 16, 2011

How to add a User Account from Terminal

User Accounts can be created and password protected from terminal. This can be accomplished by typing two commands.

To create a user account type the following command:

sudo useradd –d /home/Andes_Noraa –m Andes_Noraa

In this example,  the Username and Account folder name is:  Andes Noraa

(You can give a different one)1

To add password for your account, type in: sudo passwd Andes_Noraa  and press enter

Terminal will ask you to type a new password and after that to re-enter

2

That's it! The User Account has been created and Password Protected now.

3

0 comments:

Post a Comment