1856397 Members
10042 Online
104112 Solutions
New Discussion

Re: root locked out

 
SOLVED
Go to solution
mvr
Regular Advisor

root locked out

I coverted to the trusted system, but now all of my accounts (including root). How do I handle this (beside rebooting in to single user mode) ?
8 REPLIES 8
Paul Sperry
Honored Contributor
Solution

Re: root locked out

rebooting to single user mode is th only way I know of. Sorry
Ian Kidd_1
Trusted Contributor

Re: root locked out

Single-user mode if you don't have a product like sudo or sfu. Otherwise you might be able to issue a sudo modprdw -k root (or launch sam with sudo).
If at first you don't succeed, go to the ITRC
Jeff Schussele
Honored Contributor

Re: root locked out

Hi Miro,

Now you see why it's always recommended to have at least 2 root sessions running when converting. One to test & one to resolve if root account gets locked out.

Do you have another server that you can rlogin (w/o PW) from?

If you have another trusted system, you might also try to ftp the /tcb/files/auth/r/root entry from that system to this one - then use that system's root PW.

But I think there's a good likelihood that you'll be having to get to single-user
mode to properly resolve this.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
MANOJ SRIVASTAVA
Honored Contributor

Re: root locked out

Do u ahve atleast one session of root still open if so then convert it back and then reactivate. In case no then all you can do is to boot in single user mode.


Manoj Srivastava
Ken Hubnik_2
Honored Contributor

Re: root locked out

If you have a root session open all you have to do is run this command.
/usr/lbin/modprpw -k root
Ken Hubnik_2
Honored Contributor

Re: root locked out

Another way is if you have ITO running you can run sam on that server to reset,
mvr
Regular Advisor

Re: root locked out

Thank you all .... I was lucky and I found one session opened on the linux box, as a root.
I got it working with /usr/lbin/modprpw -V

GREAT LESON .....

Thank you again :)

Miro
W.C. Epperson
Trusted Contributor

Re: root locked out

And the winner is?
"I have great faith in fools; self-confidence, my friends call it." --Poe