The programs referenced here provide the AIX administrator with the ability to automatically and dynamically set passwords for one or more users from a script or command line. These programs accept command line arguments consisting of the user name and new password (ASCII text), then set or change the specified user's password. At the same time the ADMCHG flag is reset so the user is not required to change their password the next time they login.
The programs that provide this functionality are a compiled "C" language utility and a shell script. The shell script provides an interface to the compiled utility that allows the AIX administrator to change a single users password, or multiple passwords by reading the username/password pairs from standard input or from a file.
When reading usernames and passwords from standard input or from a file, the field delimeter can be a pipe symbol (|), forward slash (/), comma (,), colon(:), space, or tab character. The standard input stream or data file is assumed to contain the fields: username, newpasssword : in that order. If the line of data from standard input or from a file is empty or begins with a hash mark (#), it is skipped.
The shell script interface provides numerous options and capabilities:
Shell script command line options and arguments
Compiled "C" language utility command line options and arguments
The source code for these programs can be purchased for $250 by contacting Dana French.
Automatically and dynamically set or change a users password from a script without prompting to re-enter the password and without requiring the user to change the password at the next login. Automatic and dynamic password changes without prompting to re-enter ( reenter ) the password and without requiring the user to change the password at the next login.