Example of changing a password with the passwd command

1. To change your password:

   passwd
   Old password: enter your current password
   New password: enter your new password
   Retype new password: re-enter your new password

Enter the command passwd and then respond to the prompts by entering your old password followed by your new one. You are then asked to confirm your new password.

If you make a mistake, the message

   Mismatch - password unchanged.

is displayed and your password remains unchanged. Try again.


Top document