Re: Changing forgotton root password on HP-UX Michael Kraemer <M.Kraemer@gsi.de> wrote:
> itsme schrieb:
> > I had this problem and was able to solve it after some digging. You
> > need to be on the console to change the root password.
> > 1) Reboot the machine, hold the ESC key
> > 2) A promt will appear. Type "boot pri isl" or just "boot pri"
> > 3) On ISL prompt type
> > ISL> hpux -is
>
> (snip)
>
> that's fine.
> But how to achieve that on a series 300/400
> (they don't have ISL) ?
Please try:
- Let the system boot.
- When the system is fully booted, power it off, i.e. do *not* do a
shutdown(1M).
- Power-up.
- Because the system was not properly shutdown, it will start to
fsck(1M) the disk(s).
- Before, when and after fsck is running, i.e. before and after the
"/etc/bcheckrc:" (note colon) message, *repeatedly* type:
- CTRL-\, i.e. press-and-hold the "CTRL" key and press the "\" key.
If that does not work, then start over and try:
- DEL, i.e. press-and-hold the "Shift" key and press the ESC/DEL key,
If that does not work, then start over and try:
- CTRL-C, i.e. press-and-hold the "CTRL" key and press the "C" key,
- For a default system, this will hopefully abort the boot process or/
and fsck and will hopefully give you a "(in bcheckrc)# " prompt. If
so, you are in single user mode.
I hope this helps. If it does, then please report which of the 'magic'
characters (CTRL-\ or DEL or CTRL-C)) worked. |