HP-UX System Administrator's Guide: Configuration Management
use the new settings. In order to reset the system console, you must reboot the system.
See getty(1M) for details.
To set /dev/ttyconf every time the system boots, add the stty command to /etc/
inittab. If you place it before the getty command for the console, the console will
also use the revised control characters:
For example, change:
cons:123456:respawn:/usr/sbin/getty console console # system console
ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600
To:
ttco::bootwait:/sbin/stty intr ^C erase ^H kill ^U < /dev/ttyconf
cons:123456:respawn:/usr/sbin/getty -f console console # system console
ttp1:234:respawn:/usr/sbin/getty -f -h tty0p1 9600
Controlling Usage and Processes with Run-Levels
A run-level is an HP-UX state of operation in which a specific set of processes is
permitted to run. These processes and default run-levels are defined in the file /etc/
inittab.
The run-levels are:
Run-level s
The operating mode system administrators use (often called
single-user mode). This mode ensures that no one else is on the
system while you are performing system maintenance tasks. In this
run-level, the only access to the system is through the system console
by the user root. The only processes running on the system can be
the shell on the system console, background daemon processes
started by /sbin/rc, and processes that you invoke. Commands
requiring an inactive system (such as /sbin/fsck) should be run
in run-level s.
Run-level 1
Starts a subset of essential system processes; can also be used to
perform system administrative tasks.
Run-level 2
The operating mode typically called multiuser mode. This mode
allows all users to access the system.
Run-level 3
For NFS servers. In this mode, NFS file systems can be shared, as
required for NFS servers.
For CDE users. In this mode, CDE is active. CDE is the default
desktop on HP-UX 10.30 and later.
Run-level 4
Sometimes used by optional software.
Depending on the software installed on your system, the default run-level is usually
run-level 3 or 4. The default run-level for CDE is 3.
To determine the current run-level of the init process, type:
38 Configuring System Parameters