User Management Basics-I
For a linux admin, knowledge of user management is must. In this we’ll look at simple user management tasks such as creating users
I) Creating a user in linux
here we created an user called phani. Before executing this command we should know that useradd is an admin command so only root user can execute this command,So we created user what next? simply logging in ha? if you try to login with “phani” user system will ask for password for that user so without creating a password phani cant login
II) Creating user password
when you enter this command you will be prompted for new password and for re-entring new password, once the password is updated to system we will get conformation saying that,password has been updated sucessfully
thats it’s, Creating user in linux is this much easy.. So what next we will see some other commands to know more about user management
III)So how to change password ?
this is almost same as creating a password, but we have to know one more info suppose you logged in to user “phani” and want to change password for that user you no need to specify the user name just give passwd it will ask for new password for user “phani”
here it will just ask for new password for phani user.
the answer for this is yes we can login to linux without password, this can be achived with -d option for password command
here -d is nothing but deleting the passwor for the specified user.
#passwd -d phani
please comment if you like this topic