Installation guide

Shutting Down the System
3-28 Fault Tolerant System Administration (R1004H) HP-UX version 11.00.03
The -r option causes the system to enter single-user state and reboot immediately.
CAUTION
Do not execute shutdown -r from single-user run-level. If you are in
single-user state, you must reboot using the reboot command. For
more information, see the reboot(1M) man page.
Designating Shutdown Authorization
By default, only the super-user can use the shutdown command. You can give
other users permission to use shutdown by listing their user names in the
/etc/shutdown.allow file. If the /etc/shutdown.allow file is empty, only
the super-user can shut down the system.
NOTE
If the /etc/shutdown.allow file is not empty and the super-user
login (usually root) is not listed in the file, the super-user will not be
able to shut down the system.
The /etc/shutdown.allow file contains lines that indicate which systems can
be shut down by which users. The syntax for each line is as follows:
system_name user_name
If + appears in the user_name position, any user can shut down this system. If +
appears in the system_name position, any system can be shut down by the
named user or users.
Table 3-10 shows sample /etc/shutdown.allow file entries.
For more information about the shutdown.allow file, see the shutdown(1M) man
page.
Table 3-10. Sample /etc/shutdown File Entries
Entry Affect
systemC + Any user on systemC can shut down systemC.
+ root Anyone with root permission can shut down
any system.
systemA user1 user2 Only user1 and user2 on systemA can shut
down systemA.