1837864 Members
3235 Online
110122 Solutions
New Discussion

Password forgotten

 
SOLVED
Go to solution
Manuel Plaza
Regular Advisor

Password forgotten

Hi,

I have an old 710 workstation with HP-UX 10.20 and don?t remember the password for root.
How could I access to system without install the Operating System ?

Regards,
5 REPLIES 5
CHRIS_ANORUO
Honored Contributor

Re: Password forgotten

WHILE THE SYSTEM IS BOOTING, PRESS THE INTERRUPT BUTTON AND GO TO SINGLE USER MODE. YOU CAN THEN CHANGE THE PASSWORD IN THAT MODE.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
wiprocse
Occasional Contributor

Re: Password forgotten

hi..
You can break the password by going into single user mode
here is the procedure...

boot the system
press any key and stop autoboot
say Yes to ISL mode
at ISL mode type hpux -is
it'll go to single user mode
edit the /etc/passwd file and remove the old password
chakri
James R. Ferguson
Acclaimed Contributor

Re: Password forgotten

Hi:

To boot into single-user mode:

1. Interrupt the boot by pressing any key when you see "...press any key within 10 seconds" during the startup sequence.

2. Enter "bo pri" for "boot primary" when asked for the boot path.

3. Enter "Y" when asked "Interact with IPL?".

4. Enter "hpux -is" in response to the next ISL> prompt.

You will be in single user mode. Use the passwd command to change the password. When done I prefer to do a "shutdown -ry 0" to startup normally and fully.

...JRF...

Peter Lachnitt
Advisor

Re: Password forgotten

Hi Manuel,

you just have to boot in the single user mode. In this mode you can set the root password.

Peter Lachnitt
Andreas Voss
Honored Contributor
Solution

Re: Password forgotten

Hi,

as i know interrupting auto boot can be done with pressing and holding the Escape key at boot time until a menu appears.
Then type: boot pri isl
At ISL> prompt type:hpux -is boot
When you get the # prompt type: passwd root
Enter twice time Return and the password for root is now Return.

Regards