ITC Computing Accounts

Changing Your Password on UNIX Systems

[Nov 23, 2009 14:09] Web access to Microsoft Live@edu accounts now works.

For UVa computing systems which do not have Web forms to facilitate password changes, users will need to run the "passwd" command to change their password.

The "passwd" Command

The passwd command in effect on the UNIX systems at the University of Virginia enforces the selection of passwords which are not easily guessed.

  • To change your password while logged onto a UNIX machine, type: passwd
  • To see the possible command line options, type: man passwd
  • If no options are given, actions are as follows:
    • The name that the user logged in as is determined.
    • If an entry for the user exists in the NIS (Network Information Service) passwd database, the password field in that entry is changed.
    • On Suns only, if an entry for the user exists in the local /etc/passwd file, the password field in that entry is changed.
    • On Suns only, in the unusual case where both entries are present, both password fields are set to the same new password.

On-line help is displayed if "?" is typed in response to the prompt for a new password. The help file (the file you are now reading) is displayed with "more", unless the user selects another command (and possible options) via the PAGER environment variable.

© 2009 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.