Friday, February 7, 2014

Managing Users


While installing Linux you are asked to create at least two users for the system. One is root, which has the ultimate power over the system, and the other one is the regular user – restricted to performing day-to-day tasks. Let’s see what else is possible with regards to users.


To add user: 

# adduser <username>


One some systems (such as Ubuntu) you will also be asked enter the password for the new user. One the other systems you will need to create passwords separately:


# passwd <username>


The passwd command can also be use to change other users’ passwords. When not used with the username, it offers to change the password for the user issuing the command.

No comments:

Post a Comment