Mayfield Global Knowledge Center



How do I change my password via UNIX / Linux Command Line?

  For security reasons, UNIX / Linux never displays your password on the screen.

  1. If you are not at the terminal screen, please launch ther terminal application.
  2. In the terminal window, type: passwd then press Enter.
  3. You will be prompted to type you current password for the account. Type your current password then press Enter.
    Terminal Prompt 1
  4. UNIX / Linux will display the New Password Prompt. Type you new password then press Enter.
    Terminal Prompt 2
  5. Retype the new password then press Enter.
    Terminal Prompt 3
  6. If you have typed the new password the same way both times, UNIX / Linux will change your password.
    Terminal Prompt 4

Would you like to...


del.icio.us

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favoritesAdd to favorites

User Opinions (6 votes)

100% thumbs up 0% thumbs down

How would you rate this answer?

Helpful
Not helpful
Thank you for rating this answer.