cancel
Showing results for 
Search instead for 
Did you mean: 

Break trusted root password??

SOLVED
Go to solution
Mousa55
Super Advisor

Break trusted root password??

Hi,

How to Break trusted root password in HP-UX Server (11.11 OS).
And I think This step is not Enough to break a password because this a
trusted password.
1.Reboot the system.
2.Interrupt the autoboot process when it asks to do so.
3.In main menu give "bo pri"
4.Press "Y" to interact with IPL
5.In ISL prompt give "hpux -is" to boot the system into single user mode
6.System will boot into single user mode.
7.Then you can use passwd command to change the password


Thanks & kind Regards
4 REPLIES
Ramaprasad K
Regular Advisor
Solution

Re: Break trusted root password??

Hi Nijad,

You could have searched for the same before posting your question here. Anyway, here is the solution:

1) after in Single User mode
#vgchange -a y vg00
#mount /usr
#mount /var
#mount /tmp

2) to reactivate root
#/usr/lbin/modprpw -k root

3) To change the password for root
#vi /tcb/files/auth/r/root
change the ':u_pwd' line (probably 2nd line in the file) by deleting the encrypted password field, which could look like

:u_pwd=:\

4) Once the password is deleted, you can save the file and change the password

#passwd root

Regards,
Ramaprasad K

Note:This is tried and tested procedure on PA-RISC server. Should work for you.
Mousa55
Super Advisor

Re: Break trusted root password??

Hi,

i am applied this step but this message appeared :
( 2) to reactivate root
#/usr/lbin/modprpw -k root )

# /usr/lbin/modprpw -k root
/usr/lib/dld.sl: Can't find path for shared library: libxti.2
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

and after the third step is not working

( 3) To change the password for root
#vi /tcb/files/auth/r/root )

# vi /tcb/files/auth/r/root
I don't know what kind of terminal you are on - all I have is 'unknown'.
[Using open mode]
"/tcb/files/auth/r/root" [New file]

thanks
Robert-Jan Goossens_1
Honored Contributor

Re: Break trusted root password??

Nejad,

# TERM=vt100
# export TERM
# mount -a
# /usr/lbin/modprpw -k root
or
# vi /tcb/files/auth/r/root

Robert-Jan
Mousa55
Super Advisor

Re: Break trusted root password??

Hi,

thanks for all, my problem it is solved