Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Root password retrieval

Status
Not open for further replies.

w0mbat

Technical User
Mar 13, 2003
2
0
0
US
I am running HPUX 11.0 and need to find the root password. Is there a file out there that can be edited that allow me to reclaim the lost root password. Re-booting the system is not an option on this box. Thanks for your help !

W0mbat
 
Sorry, I don't think there is any way you can "reclaim" a lost root password without booting the box into single-user mode.
 
I was afraid of that. Thanks for the reply.
 
If you're not logged in anywhere with root, there's no other way than rebooting to single user mode. If the system is configured as a Trusted System and you are logged in somewhere you can run the following command which will clear root's password :

/usr/lbin/modprpw -w "" root

cheers
George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top