The passwd command, used for changing passwords as well used for locking and unlocking accounts on Linux and Unix-like operating systems.
Linux: Unlocking An Account Syntax
The syntax is as follows:To unlock the password of the named account called vivek, type:
passwd -u username
This option re-enables a password by changing the password back to its previous value (to the value before using the -l option).
passwd -u vivek
No comments:
Post a Comment