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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.