Example of changing a password with the passwd command

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.

The passwords will not appear on the screen as you type, to prevent other people from seeing them. If you make a mistake, the message

   Mismatch - password unchanged.

is displayed and your password remains unchanged. Try again.


[Home] [Search] [Index] This site maintained by webmaster@cs.auckland.ac.nz