z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the passwd command

z/OS UNIX System Services User's Guide
SA23-2279-00

You can change a user's password or password phrase by using the passwd command:
passwd [-u userid] 

The passwd command changes the login password or password phrase for the user ID specified. If userid is omitted, the login name associated with the current terminal is used. You are prompted for the new password or password phrase.

For example:
passwd
changes the password or password phrase for the invoker. The invoker is prompted for the old password or password phrase and then for the new value.
Non-superusers can change the password or password phrase for another user if they know the user ID and the current password or password phrase. This example changes the password or password phrase for user ID steve:
passwd -u steve 

For more information about the passwd command, see the passwd command description in z/OS UNIX System Services Command Reference For information on setting up RACF® to enable password phrase support, see z/OS Security Server RACF Security Administrator's Guide.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014