1) it means you have to be able to login remotely either as root or as another user and switch to root to change the pw
2) passing a root password across the Internet in plain text is risky
were you intending to do loop through all 100 servers and set them all the same or one at a time but scripted and with a unique/random password?
Do you have secure console access to the servers or will you only have internet access?
For the servers with ssh access you could just set-up a private secure key access for root (then if all goes west you still have key private key access).
Assuming you already have some ideas maybe share then with us so we can help?
I would (and have in the past) use an Expect script to do this.
Alternatively, you could just set the password on one of them and copy the /tcb/files/auth/r/root file to all of them, assuming you have some kind of scp key access as described by Laurie above.
Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
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.