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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing multiple HACMP passwords 2

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
GB
Further to an earlier question about adding users, can anyone advise on the best way to set multiple users passwords in a cluster?

If, for example, we have 100 users on a non-HACMP system, the command 'cat password_file | chpasswd' would work if the file password_file existed, containing the users and their new passwd, eg:

albert:mon1234
barry:tue1234
charlie:wed1234
etc etc

However, this is a HACMP system I see no equivalent for HACMP. Even though the cl_chpasswd command exists, it doesn't appear to be able to take a file as input.

We're not allowed to add any new packages without going through full change control which is liable to take a couple of weeks.

Any recommendations?
 
cl_chpasswd is a shell script - I didn't look deeper into it but maybe you can have look into it's options etc. or feed it with a while read loop.

laters
zaxxon
 
Maybe not a bright idea but how about maintaining the users locally to each node in the cluster instead of using the cluster to maintain the passwords!?!

All you need is to write a script that will create users, from one node, to all other nodes in the cluster (this includes options for changing the passwords).

Then you have to write a procedure and distribute it to those who will create the users to comply with it!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top