Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX 5.3: chpasswd : password changes 1

Status
Not open for further replies.

ggauthier

IS-IT--Management
Nov 10, 2002
60
US
Back in this topic there was the question on creating hundreds of users and automatically populating the password for each account.

A few suggestions were made, including a helpful C program by p5wizard, which works on at least AIX 4.3 and 5.1

In AIX 5.3 there is a new command : chpasswd

Since the original posting in the previous thread didn't mention the AIX version, this may not be an option for that situation.

chpasswd allows you to set passwords for multiple accounts by building a file in format of account:password

A cool feature is that you can provide a clear password (which will be encrypted) or an encrypted password.

Here is an IBM man page on the command:

Just an FYI.

-glenn
 
Glenn,

Have you considered writting a FAQ to cover this subject?

Also see "setpass" a C routine to do the same or install newusers (A linux util) that allows you to add a user and password in one go.



Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
good find
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top