cancel
Showing results for 
Search instead for 
Did you mean: 

root passwd locked

UnixT
Frequent Advisor

root passwd locked

Hello,


One scenario a below..

Root passwd locked out and when we go to single user mode and try to recover the the same. when it comes up it asks for the old...In trusted m/c how did we recover other than this way....can any experts can help....also in non trusted machine
3 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: root passwd locked

Forums user name: UnixT
Company name:
Country / Region: india
Personal quote:
Certification:
ITRC member since: March 22, 2008
Last contribution date: December 14, 2009
I have assigned points to 24 of 100 responses to my questions.


we work here for points, if you d'not assign points for the people who help to share knowledge try solve you problem.. above stat's doesn't look Good... :(
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: root passwd locked

>>In trusted m/c how did we recover other than this way....<<

Once you have booted single user mode

# cd /tcb/auth/files/r
# ll root
# vi root

output will look smilar like below -> look for u_pwd delete all character

root:u_name=root:u_id#0:\
:u_pwd=A34mofop:\

should look like below after you delete no space

:u_pwd=:\


for non trusted

passwd root -> will work to reset password
Problems are common to all, but attitude makes the difference
NouZ
Occasional Advisor

Re: root passwd locked

Hi Boss

In non trusted system . You can change password in single user mode. While booting up interrupt boot , ISL > boot vmunix -is (11i v3) or hpux -is (v2).wait to get prompt
#passwd root

#init 3

Now you can login with new root password