Unix: Reset a user’s password under any linux.

passwd is the command used to change the password. In order to change your own password use the command passwd

$passwd

It will prompt you to enter the same password twice.

Moreover, if you wish to change the password of any other user account, specify the username along with the passwd command. Syntax listed below:

#passwd username

Example:
#passwd Saju

Changing password for Saju
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Thanks
WintelAdmin

Facebook Comments
Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *