cancel
Showing results for 
Search instead for 
Did you mean: 

changing root password

 
madhudeepan
Frequent Advisor

changing root password

i need to change the root pwd for 30 servers all servers are in production. Is it possiable to change it in a script.

i used to do in the following ways by editing here..

/tcb/file/auth/root ..

is there an other way ,,

ver 11i v3 ,, all are trusted system
4 REPLIES
Michael Steele_2
Honored Contributor

Re: changing root password

No

One of the basics of a trusted system.
Support Fatherhood - Stop Family Law
Johnson Punniyalingam
Honored Contributor

Re: changing root password

Hi Madhu,

Check below Thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1257140047024+28353475&threadId=693672
Problems are common to all, but attitude makes the difference
D. Jackson_1
Honored Contributor

Re: changing root password

We have roughly 20 servers that we do it here on. We are running trusted with a mix of 11.0 and 11.11. We have ssh authentication keys set up for a non root user that is allowed sudo access on all systems to make that modification.

This may not work on v3 not sure.
Viktor Balogh
Honored Contributor

Re: changing root password

Do you have keyed ssh access? I would try it with usermod. If no, you could try expect for automating interactive processes...

"11iv3 lets you put an encrypted password directly on the command line with usermod, which is safer than modifying the files directly. "
****
Unix operates with beer.