http://www.perlmonks.org?node_id=860943
jfroebe has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

I have a hundred or so servers that I have logins that I need to reset the passwords every X days. The operating systems are Linux, AIX, Solaris and a couple BSDs. Currently I have a set of bash / expect scripts that work (sorta) but do not contain any real error handling. This is performed via ssh.

Does anyone know of any modules that would allow me to change a password on particular unix flavor? I would like to ssh into a box, determine what flavor it is, and then run that module. Of course this would be automated.

I'm just thinking that such a requirement would be very common but I didn't see anything in CPAN. I don't want to reinvent the wheel if I don't have to.

thanks :)

Jason L. Froebe

Blog, Tech Blog