Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

root password required on single user mode

Go to solution
Brian Lee_4
Regular Advisor

root password required on single user mode

After I changed security policy to trusted mode, the system asked me of root passwd to get into single user mode when I tried to chagne root passwd.

How can I get into single user mode at this situation w/o root passwd?
brian lee
Steven E. Protter
Exalted Contributor

Re: root password required on single user mode

If you are saying you answered the question yes, you'll need to have that root password, even in single user mode.

To get to single user mode, boot the box. From the console. Without the root password, you may need to use the power switch

Interupt at the 10 second prompt.


Y Interact

hpux -is

If you can't break in, get the core os cd and boot off that.

SEA after the 10 second prompt.

If the CD is P2


Then null out the root password in the file

null out the between the = and : the line that says:


Save the file.

To make vi work right, you may need to mount /usr before you start working. Don't just erase the file, it won't help.

Steven E Protter
Owner of ISN Corporation
Michael Tully
Honored Contributor

Re: root password required on single user mode

SEP has a good idea here. It should work. To use 'vi' you must have /usr mounted and change your temporary work files to somewhere, as /var/tmp is the default for 'vi' so normally /var/ has to be mounted also.
Anyone for a Mutiny ?