Question: I know how to boot into single user mode under Linux and FreeBSD. But, how do I boot into single user mode under HP-UX (HP9000) UNIX operating system?
Answer:. First, you need to interrupt the boot process when prompted. This is useful to reset password and other tasks.
First, you need to tell HP-UX box to boot primary, it should give you a prompt to interact with the ISL. You should reply ‘y’ to this. Once at ISL> prompt type hpux -is or hpux -iS /stand/vmunix to boot into single user mode.
Booting HP-UX UNIX into Single User Mode
Use the following procedure to boot into single-user mode in HP-UX.
Interrupt the boot process when prompted by pressing [ESCAPE] key. You will see message as follows:
Selecting a system to boot. To stop selection process, press and hold the ESCAPE key...
OR
Autoboot from primary boot path enabled. To override, press any key within 10 seconds.
Type boot pri isl at the prompt:
boot pri
At the ISL> prompt:, type
hpux -is /stand/vmunix
OR
hpux -is
In above example, the -i option is used to make the system come up in run-level s, for single user mode of operation. /stand/vmunix is optional but some time required. Usually, ‘hpux -is’ is more than enough to boot into single user mode.
hpux is the HP-UX specific secondary system loader (SSL) utility for bootstrap. See man page for more information.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 4 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
it’s a little different for UEFI/Itanium machines
there’s no ISL ans the command is
boot vmunix -is
Hello
My system Boots & display (cannot find standard vmunix) and stops at ISL Prompt.
Please your help is required
Thanks & Best regards
at prompt type “boot into single user mode” let me know how it goes bud.
When booting a system where it bypasses the ISL prompt, interrupt the boot sequence and type “bo pri -is” – this is one means, among others, to force a SU boot. Just a helpful possible tip.