1837450 Members
3677 Online
110117 Solutions
New Discussion

root pasword lost

 
nina_1
Occasional Contributor

root pasword lost

I got an old hp-unix, but I don't know the password and can't log in, can anybody help me with this? thanks
7 REPLIES 7
Craig Rants
Honored Contributor

Re: root pasword lost

By old I assume that you mean 10.20... if the box is not trusted you should be able to reboot into single user mode and then change the root password. If it is trusted you may be required to supply the root password to get in...

Hope you can get in...

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
PIYUSH D. PATEL
Honored Contributor
Martin Johnson
Honored Contributor

Re: root pasword lost

If the system is trusted, use vi on /tcb/files/auth/r/root and remove the line with u_pwd. This will remove the password for root. Login as root and use passwd to set a new password for root. If you don't have a psuedo root account, you will have to do this in single user node. In that case just use passwd to reset the password.
PIYUSH D. PATEL
Honored Contributor

Re: root pasword lost

MANOJ SRIVASTAVA
Honored Contributor

Re: root pasword lost

Hi Nina

1.When the system is booting at the console is asking for you to type wiothin 10 seconds interrupt the auto boot sequence ,this will take you to the IPL prompt

2.Then type BO PRI . it will ask you to interact with ISL say yes

3.Type hpux -is to boot in the single user mode .

4. change the passwd of root using passwd root , or sam .

You are good to go.


Manoj Srivastava
Juan Manuel López
Valued Contributor

Re: root pasword lost

Hello.
If your system is not trusted system, you have to reboot the machine, stop the autoboot process, start from primary path " bo pri ", then choose ISL ( yes ). Now user hpux -is to start on single user.
When you have got prompt on single user mode, you can change the root password.

If your system is trusted system, you have to do the same above and then delete the password on file /tcb/files/auth/r/root.

I hope this help you.

Please, do not forget the points for us.

Thanks in advance.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Peter Kloetgen
Esteemed Contributor

Re: root pasword lost

Hi Nina,

non- trusted system:

boot in single user mode, manually boot, interact with IPL, enter hpux -is then.
You won't have to enter a password then.

trusted system with secured console:

jumper another SCSI- device to the same SCSI- target number as your boot- disk.
This causes a SCSI- error, which automatically resests your console.


Allways stay on the bright side of life!

Peter
I'm learning here as well as helping