setserial
commands to configure the system's serial ports. Refer to the
setserial
man page
for more information.
4. SysV Init Runlevels
The SysV init runlevel system provides a standard process for controlling which programs
init
launches or halts when initializing a runlevel. SysV init was chosen because it is easier to use
and more flexible than the traditional BSD-style init process.
The configuration files for SysV init are located in the
/etc/rc.d/
directory. Within this
directory, are the
rc
,
rc.local
,
rc.sysinit
, and, optionally, the
rc.serial
scripts as well as
the following directories:
init.d/ rc0.d/ rc1.d/ rc2.d/ rc3.d/ rc4.d/ rc5.d/ rc6.d/
The
init.d/
directory contains the scripts used by the
/sbin/init
command when controlling
services. Each of the numbered directories represent the six runlevels configured by default
under Red Hat Enterprise Linux.
4.1. Runlevels
The idea behind SysV init runlevels revolves around the idea that different systems can be used
in different ways. For example, a server runs more efficiently without the drag on system
resources created by the X Window System. Or there may be times when a system
administrator may need to operate the system at a lower runlevel to perform diagnostic tasks,
like fixing disk corruption in runlevel 1.
The characteristics of a given runlevel determine which services are halted and started by
init
.
For instance, runlevel 1 (single user mode) halts any network services, while runlevel 3 starts
these services. By assigning specific services to be halted or started on a given runlevel,
init
can quickly change the mode of the machine without the user manually stopping and starting
services.
The following runlevels are defined by default under Red Hat Enterprise Linux:
•
0
— Halt
•
1
— Single-user text mode
•
2
— Not used (user-definable)
•
3
— Full multi-user text mode
•
4
— Not used (user-definable)
•
5
— Full multi-user graphical mode (with an X-based login screen)
•
6
— Reboot
SysV Init Runlevels
9
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......