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 :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Reset unix passwords via Perl?
by biohisham (Priest) on Sep 21, 2010 at 06:01 UTC | |
Re: Reset unix passwords via Perl?
by dasgar (Priest) on Sep 20, 2010 at 23:18 UTC | |
Re: Reset unix passwords via Perl?
by Khen1950fx (Canon) on Sep 20, 2010 at 23:39 UTC | |
by JavaFan (Canon) on Sep 21, 2010 at 07:41 UTC | |
Re: Reset unix passwords via Perl?
by MidLifeXis (Monsignor) on Sep 21, 2010 at 14:08 UTC | |
Re: Reset unix passwords via Perl?
by elTriberium (Friar) on Sep 21, 2010 at 20:24 UTC |