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

Changing password

Status
Not open for further replies.

dinduboy14

Vendor
Mar 13, 2002
60
AU
your help is appriciated; i need ideas on how to change root password for about 25 hp servers and this password should be change every month for security reasons. any ideas on best way to approach this? cheers, din.
 
Well, making some assumpionts:
- ssh keys have been (or can be) set up between systems
- you can ssh between systems as root (based on above)

You will want to get and install (if not already there) expect. Pick one of the systems to be a "master". Create a script on it that will ssh to all of the systems and - via expect - update the root password. Be sure the script has appropriate error checking and logging too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top