In Unix, how do I change my password?

To safeguard your Unix account, you should change your password at least every six months. For more information on what constitutes a secure password, see About your IU passphrase.

The Unix passwd command

The standard Unix command to change your password is:

  passwd

Note: This command does not apply to most Indiana University computer accounts. For most UITS Unix computers, you need to use the Passphrase Maintenance utility to change your passphrase.

The computer will prompt you for your old password, ask for a new password, and ask that you repeat your new password for verification. You should choose a password of at least eight characters, two of which must be non-alphabetic characters. Unix is case sensitive, and UITS recommends that you use lowercase characters. This command will change the password only on the computer you are currently using.

Changing your passphrase on a UITS central system

For information about changing or resetting passphrases on UITS systems, see:

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document abaz in the Knowledge Base.
Last modified on 2012-08-29.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.