hp:hpux:notes
Table of Contents
Notes
Boot into single user mode
Tested on an HP 712/100 workstation.
- Press escape at the boot banner.
- Use 'search' at the prompt to get a list of bootable devices.
- Boot the correct device with parameter 'isl':
boot scsi.6.0 isl
- Use the following command on the ISL prompt to boot the kernel into single-user mode:
hpux -is
The system will be booted to a superuser prompt.
Reset root password on HP-UX 10.20
- Boot into single-user mode.
- Back-up the current passwd file:
mv /etc/passwd /etc/passwd.orig cp /etc/passwd.orig /etc/passwd
- Open /etc/passwd in vi.
- Remove the text between the first and second colon on the line that begins with 'root'. Example after edit:
root::0:3::/sbin/sh
- Reboot the system.
- Login should now be possible for root by just entering the username.
- Set a new password for the root account with 'passwd'.
hp/hpux/notes.txt · Last modified: 2011/03/06 20:09 by bas