Installation guide
Red Hat Enterprise Linux provides three such utilities:
/sbin/chkconfig — The /sbin/chkconfig utility is a simple command line tool for
maintaining the /etc/rc.d/init.d/ directory hierarchy.
/usr/sb in /n t sysv — The ncurses-based /sb in /n t sysv utility provides an interactive text-based
interface, which some find easier to use than chkconfig.
Services Co n f ig urat io n To o l — The graphical Services Co n f ig u rat io n To ol (system-
config-services) program is a flexible utility for configuring runlevels.
See the chapter titled Controlling Access to Services in the Red Hat Enterprise Linux Deployment Guide
for more information regarding these tools.
33.5. Shut t ing Down
To shut down Red Hat Enterprise Linux, the root user may issue the /sbin/shutdown command.
The shutdown man page has a complete list of options, but the two most common uses are:
/sbin/shutdown -h now
and
/sbin/shutdown -r now
After shutting everything down, the -h option halts the machine, and the -r option reboots.
PAM console users can use the reboot and halt commands to shut down the system while in
runlevels 1 through 5. For more information about PAM console users, refer to the Red Hat Enterprise
Linux Deployment Guide.
If the computer does not power itself down, be careful not to turn off the computer until a message
appears indicating that the system is halted.
Failure to wait for this message can mean that not all the hard drive partitions are unmounted, which
can lead to file system corruption.
[13] G RUB read s ext3 file sys tems as ext2, d is reg ard ing the jo urnal file. See the chap ter titled The ext3
File System in the Red Hat Enterp ris e Linux Dep lo yment G uid e fo r mo re info rmatio n o n the ext3 file
sys tem.
[14] Refer to the Red Hat Enterp ris e Linux Dep lo yment G uid e fo r mo re info rmatio n ab o ut tty d evices .
[15] Refer to the Red Hat Enterp ris e Linux Dep lo yment G uid e fo r mo re info rmatio n ab o ut d isp lay
manag ers .
Red Hat Ent erprise Linux 5 Inst allat ion G uide
34 6