Operating System - HP-UX
1826109 Members
5136 Online
109690 Solutions
New Discussion

Re: Help !! I Lost My Hpux Root Password !!

 
Bayu adhi Cahyono
New Member

Help !! I Lost My Hpux Root Password !!

Hi all,

Can u all help me ??
i have server HP-UX and i lost my password, can u tell me how to crack the
password ???
3 REPLIES 3
Samir Mohammed
New Member

Re: Help !! I Lost My Hpux Root Password !!

You would need to reboot the system. Once the system is pass memory/cpu check,
it will ask you to press any key to continue booting. You want to press a key
to interrupt the boot. This will take you to a prompt.
At this prompt, type in as follows.
bo alt
Next question it will ask you is do you want to interact with IPL, answer yes.
When you are at the isl prompt, type in as follows.
hpux -lm
That is the letter L before the letter m.
This will boot the system in maintenance mode. From there run the following
commands.
/sbin/passwd
You will now be able to change the root password. After you are done, type in
as follows to bring system to multiuser mode.
init 3
Dan Hull
Regular Advisor

Re: Help !! I Lost My Hpux Root Password !!

The procedure recommended above can work, but if there is no alternate boot
path defined, it won't. You don't have to boot from the alternate, and you
don't have to go into lvm maint mode. If you do, you may need to activate VG00
before you can change the password (I haven't tried it).

Here's a good method:

Reboot the machine softly if possibly (either a TOC or an RS from the CM>
prompt on certain systems).

Interrupt the boot and at the BOOT_ADMIN or MAIN MENU prompt, enter:

bo pri ipl

Answer "Y" to the question "Interact with IPL?"

ISL> hpux -is

Once it's up at a prompt:

# passwd root >> Change the password
# shutdown -r 0

This will reboot. It's a good idea to reboot after this instead of using init
to change the levels.
Martien Korenblom_1
New Member

Re: Help !! I Lost My Hpux Root Password !!

FYI,

Booting in single user mode won't help if you made your system a 'secure'
system. Just so you know :)