AIX Tip of the Week

Subject: Automate Setting Passwords

Audience: Administrators

Date: April 7, 2005

The "chpasswd" command is easier to use than "passwd" when setting a list of user passwords. It can be used from the command line or shell script. For example, to change passwords for users listed in a file, type the following

cat mypasswords  |  chpasswd

Where the mypasswords file contains


For more information see the following URL

Bruce Spencer,

April 7, 2005