Operating System - HP-UX
1753797 Members
7486 Online
108805 Solutions
New Discussion юеВ

Re: Root password reset for HP-UX 11.00

 
SOLVED
Go to solution
Carolina Elmufdi
Occasional Advisor

Root password reset for HP-UX 11.00

Hi,

I'm an amateur unix user working on a HP-UX 11.00 workstation which is not conected to any network. The root password is lost and I need to reset it. I've read previuos suggestions and was wondering how do I reboot into single user mode? Is there an easier way to change the password since I'm not connected to any network and there's no heavy security on the machine?

Thank you,

Carolina
17 REPLIES 17
Pete Randall
Outstanding Contributor

Re: Root password reset for HP-UX 11.00

Carolina,

To boot into single user mode, interrupt the boot process when you see the message saying you have 10 seconds to do so. Then enter "hpux -is" to boot into single user mode. You'll be already logged in as root. Issue the passwd command to change the password.


Pete

Pete
DIPAK KUMAR ROY
Frequent Advisor

Re: Root password reset for HP-UX 11.00

You need to boot in single user mode.

Stop the boot process when it says "Press any key to stop in 10 seconds". It will be on "Main Menu >" prompt.

Type "bo pri ISL" hit Enter.
< Interact with IPL ? >
Say Y ( for yes)
You will be at "ISL>" prompt.
Type "hpux -is" hit Enter.
System will be booted in single user mode and it will be logged in as "root".

Change the Password and reboot.

Thanks
Carolina Elmufdi
Occasional Advisor

Re: Root password reset for HP-UX 11.00

Thanks for both of your replies. I started doing this but I am unable to reboot. To reboot I am typing boot or reboot as a command but this isn't working. It says boot/reboot not found. I thought this is how I reboot. Is there another way?

Thanks
Zigor Buruaga
Esteemed Contributor

Re: Root password reset for HP-UX 11.00

Hi,

As user "root" run "shutdown -r 0"

Kind regards,
Zigor
Zigor Buruaga
Esteemed Contributor

Re: Root password reset for HP-UX 11.00

Hi again,

Just re-read your question, forgot my stupid prior suggestion! ( as root ... )

My god!

Kind regards,
Zigor
Carolina Elmufdi
Occasional Advisor

Re: Root password reset for HP-UX 11.00

So can I issue this command as a regular user still?

Thanks again,
Carolina
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: Root password reset for HP-UX 11.00

Carolina

If there are no active databases etc running on the machine then you can probably switch of the machine and then when the machine is swtiched on back may be you can go into single user mode and change the password for the root.

Manoj
Zigor Buruaga
Esteemed Contributor

Re: Root password reset for HP-UX 11.00

Hi,

No, as far as I know. Try to do a hard reset.
Sorry again ( I can't believe it! ).

Kind regards,
Zigor
Carolina Elmufdi
Occasional Advisor

Re: Root password reset for HP-UX 11.00

Manoj,

Thanks for your reply. I was advised that manually shutting the computer down is not good. There are no databases running on it. It's an HP Visualize j6000 UX 11.00. I guess I'm just looking for reassurances that I won't mess anything by manually shutting down. Also, is boot or reboot the correct command for shutting down? If so, why do you think it didn't work for me?

Thanks,
Carolina