Question : Automate Password Change Process

Hello All,

I am working as a system engineer and planning to automate password change process on multiple servers(unix/windows ).


Here is the requirement...

- I have around 30 unix and 10 windows server.
- Each server has mulitple ids based on the service installed on it like webserver has apache id, application server has  weblogic id Etc...
- I would like to create one script and upon execution of this script, it should change password for all ids on all servers.


Can any one suggest me how to implement this.

Thanks
Deepak

Answer : Automate Password Change Process

It's not a good idea to have separate passwd files and local users on 40 machines, it's time to move to some kind of domain (LDAP based), that will also be used from Unixes as an authentication source. So you will have a single point of changing passwords (at most 2 points, one for Unix and one for Windows hosts)

- Changing user password in Windows from command line described here:
http://www.windowsdevcenter.com/pub/a/windows/2004/03/30/serverhacks_passwords.html
- Changing user password on Linux may be done with 'passwd --stdin username'
- Accessing to remote boxes (either Linux or Windows) without providing passwords may be done with 'sshd' service with RSA authenication. There are Unix and Wondows versions.

Random Solutions  
 
programming4us programming4us