Chapter 4. The sysconfig Directory

Chapter 4. The sysconfig Directory

4.1. Files in the /etc/sysconfig/ Directory
4.1.1. /etc/sysconfig/amd
4.1.2. /etc/sysconfig/apmd
4.1.3. /etc/sysconfig/arpwatch
4.1.4. /etc/sysconfig/authconfig
4.1.5. /etc/sysconfig/autofs
4.1.6. /etc/sysconfig/clock
4.1.7. /etc/sysconfig/desktop
4.1.8. /etc/sysconfig/devlabel
4.1.9. /etc/sysconfig/dhcpd
4.1.10. /etc/sysconfig/exim
4.1.11. /etc/sysconfig/firstboot
4.1.12. /etc/sysconfig/gpm
4.1.13. /etc/sysconfig/harddisks
4.1.14. /etc/sysconfig/hwconf
4.1.15. /etc/sysconfig/i18n
4.1.16. /etc/sysconfig/init
4.1.17. /etc/sysconfig/ip6tables-config
4.1.18. /etc/sysconfig/iptables-config
4.1.19. /etc/sysconfig/irda
4.1.20. /etc/sysconfig/keyboard
4.1.21. /etc/sysconfig/kudzu
4.1.22. /etc/sysconfig/mouse
4.1.23. /etc/sysconfig/named
4.1.24. /etc/sysconfig/netdump
4.1.25. /etc/sysconfig/network
4.1.26. /etc/sysconfig/ntpd
4.1.27. /etc/sysconfig/pcmcia
4.1.28. /etc/sysconfig/radvd
4.1.29. /etc/sysconfig/rawdevices
4.1.30. /etc/sysconfig/samba
4.1.31. /etc/sysconfig/selinux
4.1.32. /etc/sysconfig/sendmail
4.1.33. /etc/sysconfig/spamassassin
4.1.34. /etc/sysconfig/squid
4.1.35. /etc/sysconfig/system-config-securitylevel
4.1.36. /etc/sysconfig/system-config-users
4.1.37. /etc/sysconfig/system-logviewer
4.1.38. /etc/sysconfig/tux
4.1.39. /etc/sysconfig/vncservers
4.1.40. /etc/sysconfig/xinetd
4.2. Directories in the /etc/sysconfig/ Directory
4.3. Additional Resources
4.3.1. Installed Documentation

The /etc/sysconfig/ directory contains a variety of system configuration files for Red Hat Enterprise Linux.

This chapter outlines some of the files found in the /etc/sysconfig/ directory, their function, and their contents. The information in this chapter is not intended to be complete, as many of these files have a variety of options that are only used in very specific or rare circumstances.

4.1. Files in the /etc/sysconfig/ Directory

The following files are normally found in the /etc/sysconfig/ directory:

  • amd

  • apmd

  • arpwatch

  • authconfig

  • autofs

  • clock

  • desktop

  • devlabel

  • dhcpd

  • exim

  • firstboot

  • gpm

  • harddisks

  • hwconf

  • i18n

  • init

  • ip6tables-config

  • iptables-config

  • irda

  • keyboard

  • kudzu

  • mouse

  • named

  • netdump

  • network

  • ntpd

  • pcmcia

  • radvd

  • rawdevices

  • samba

  • sendmail

  • selinux

  • spamassassin

  • squid

  • system-config-securitylevel

  • system-config-users

  • system-logviewer

  • tux

  • vncservers

  • xinetd

Note

If some of the files listed here are not present in the /etc/sysconfig/ directory, the corresponding program may not be installed.

The following sections offer descriptions of these files. Files not listed here as well as extra file options found in the /usr/share/doc/initscripts-<version-number>/sysconfig.txt file (replace <version-number> with the version of the initscripts package). Alternatively, looking through the initscripts in the /etc/rc.d/ directory can prove helpful.

The /etc/sysconfig/init file controls how the system appears and functions during the boot process.

The following values may be used:

  • BOOTUP=<value>, where <value> is one of the following:

    • color — The standard color boot display, where the success or failure of devices and services starting up is shown in different colors.

    • verbose — An old style display which provides more information than purely a message of success or failure.

    • Anything else means a new display, but without ANSI-formatting.

  • RES_COL=<value>, where <value> is the number of the column of the screen to start status labels. The default is set to 60.

  • MOVE_TO_COL=<value>, where <value> moves the cursor to the value in the RES_COL line via the echo -en command.

  • SETCOLOR_SUCCESS=<value>, where <value> sets the success color via the echo -en command. The default color is set to green.

  • SETCOLOR_FAILURE=<value>, where <value> sets the failure color via the echo -en command. The default color is set to red.

  • SETCOLOR_WARNING=<value>, where <value> sets the warning color via the echo -en command. The default color is set to yellow.

  • SETCOLOR_NORMAL=<value>, where <value> resets the color to "normal" via the echo -en.

  • LOGLEVEL=<value>, where <value> sets the initial console logging level for the kernel. The default is 3; 8 means everything (including debugging), while 1 means only kernel panics. The syslogd daemon overrides this setting once started.

  • PROMPT=<value>, where <value> is one of the following boolean values:

    • yes — Enables the key check for interactive mode.

    • no — Disables the key check for interactive mode.

4.1.19. /etc/sysconfig/irda

The /etc/sysconfig/irda file controls how infrared devices on the system are configured at startup.

The following values may be used:

  • IRDA=<value>, where <value> is one of the following boolean values:

    • yesirattach runs and periodically checks to see if anything is trying to connect to the infrared port, such as another notebook computer trying to make a network connection. For infrared devices to work on the system, this line must be set to yes.

    • noirattach does not run, preventing infrared device communication.

  • DEVICE=<value>, where <value> is the device (usually a serial port) that handles infrared connections. A sample serial device entry could be /dev/ttyS2.

  • DONGLE=<value>, where <value> specifies the type of dongle being used for infrared communication. This setting exists for people who use serial dongles rather than real infrared ports. A dongle is a device that is attached to a traditional serial port to communicate via infrared. This line is commented out by default because notebooks with real infrared ports are far more common than computers with add-on dongles. A sample dongle entry could be actisys+.

  • DISCOVERY=<value>, where <value> is one of the following boolean values:

    • yes — Starts irattach in discovery mode, meaning it actively checks for other infrared devices. This must be turned on for the machine to actively look for an infrared connection (meaning the peer that does not initiate the connection).

    • no — Does not start irattach in discovery mode.