Operating System - HP-UX
1837979 Members
2957 Online
110124 Solutions
New Discussion

Forget Root Password on Trusted System

 
morganelan
Trusted Contributor

Forget Root Password on Trusted System

Hi Unix Gurus,
I have done testing to change password for some users on trusted 11.11 system several times but at the end I have forgot the root password.How to relogin as root without login to console with single user mode or restore ignite backup tape?Any replies will be appreaciated.
Kamal Mirdad
10 REPLIES 10
Stf
Esteemed Contributor

Re: Forget Root Password on Trusted System

Yep you have to reboot in single user mode and reenter a new root password

Stf ;)
Joseph Loo
Honored Contributor

Re: Forget Root Password on Trusted System

hi,

unless u have another admin PID, 0, the only way is thru single user mode to reset the root password.

even if u need to restore ignite backup tape, u have to restart the machine to boot thru tape.

regards.
what you do not see does not mean you should not believe
RAC_1
Honored Contributor

Re: Forget Root Password on Trusted System

If boot pass has not been set, you can recover easily.

boot into single user mode and change the password.
There is no substitute to HARDWORK
morganelan
Trusted Contributor

Re: Forget Root Password on Trusted System

Hi RAC, I have not set password for single user boot, how to boot to single user mode if I can not login as root?Thanks in advance.
Kamal Mirdad
Muthukumar_5
Honored Contributor

Re: Forget Root Password on Trusted System

Login with PS / GSP console and then,

stop boot prompt and give as,

boot>hpux -is
it will go to single user mode.

# passwd root
change here

# init

-Muthu
Easy to suggest when don't know about the problem!
RAC_1
Honored Contributor

Re: Forget Root Password on Trusted System

You will have to poer it off, poer it on and go into single user mode. Also better method is to reboot system from GSP/MP and go into single user mode. (RS from GSP/MP)
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Forget Root Password on Trusted System

ISL>hpux -is should boot into single user mode

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor
Joseph Loo
Honored Contributor

Re: Forget Root Password on Trusted System

too lazy to type too much, just follow the steps given by SEP:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=773616

regards.
what you do not see does not mean you should not believe
morganelan
Trusted Contributor

Re: Forget Root Password on Trusted System

Thanks you guys ....
Kamal Mirdad