passwd command stands for the password.
By using passwd command we can change the password of a user account in Unix system.
Steps for change password.
1. Enter the command “passwd” on the terminal and press enter.
2. System asks for old Unix password then the user will enter old Unix password.
3. System asks for new Unix password then the user will enter/set the new password.
4. System asks to retype new password then the user will retype new password.
Example:
1 2 3 4 5 6 | $ passwd [enter] passwd: Changing password for (USER ACCOUNT) Enter old UNIX password: ********* [user entered password = **********] Enter new UNIX password: ****** [user entered new password = ******] Re enter new UNIX password: ****** [user entered new password = ******] passwd(system): password successfully changed for (USER ACCOUNT) |