Lesson 01, Discovering the system · notion 2.4 · free
Changing your password
How does a user change their own password?
Definition
passwd changes an account's password. Run without an argument by an ordinary user, it changes that same user's password.
Syntax
passwd
Example
[etudiant@serveur1 ~]$ passwd
Current password:
New password:
Retype new password:
passwd: password updated successfully
To remember: passwd with no argument changes your own password. Old one first, new one twice, nothing is displayed.
