Operating System - HP-UX
1752609 Members
4309 Online
108788 Solutions
New Discussion

Re: Recover Root Password

 
OldSchool
Honored Contributor

Re: Recover Root Password

@Ganeeh.A>
"Do u run any enterprise backuo softwares like ... netbackuo/omni ???"

@Raj D>
"If it is trusted system it will ask for the old root password. Then follow the above method mentioned in the thread"


If the OP hasn't figure this out in the prior 14 days, neither of the above are going to help. Besides, the above doesn't help if, as he stated originally, he *doesn't* know the password.
Raj D.
Honored Contributor

Re: Recover Root Password

Oldschool Thx for pointing out,

Madhudeepan,
Here it is ,
After booting in single user mode if it ask for old password, while changing the root pw to do below steps,

1. # /usr/lbin/modprpw -k root

2. nullify the root password, so that the passwd command does not prompt for the old password.

- # /usr/sam/lbin/usermod.sam -F -p "" root
- # /sbin/passwd root
Specify the new root passwrod here.

And now you recovered the root pw.



Also, instead of above 1 & 2 step : #/usr/lbin/tsconvert -r and /sbin/passwd root can also be done.
( Remember This will expire all other accounts pw, and /usr/lbin/tsconvert needs to be run again.)

- Then you can reboot the system in multiusermode and check logging into root with the newly assigned password. cool!.




Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "