4.1 About /etc/sysconfig Files

The /etc/sysconfig directory contains files that control your system's configuration. The contents of this directory depend on the packages that you have installed on your system.

Some of the files that you might find in the /etc/sysconfig directory include:


Specifies additional command line arguments for the atd daemon.


Specifies whether various authentication mechanisms and options may be used. For example, the entry USEMKHOMEDIR=no disables the creation of a home directory for a user when he or she first logs in.


Defines custom options for automatically mounting devices and controlling the operation of the automounter.


Passes arguments to the crond daemon at boot time.


Defines the default language, any other supported languages, and the default system font.


Controls how the system appears and functions during the boot process.


Stores information that the kernel uses to set up IPv6 packet filtering services when the iptables service starts.


Stores firewall configuration rules for IPv6.


Stores information that the kernel uses to set up IPv4 packet filtering services when the iptables service starts.


Stores firewall configuration rules for IPv4.


Specifies the keyboard.

modules (directory)

Contains scripts that the kernel runs to load additional modules at boot time. A script in the modules directory must have the extension .modules and it must have 755 executable permissions. For an example, see the bluez-uinput.modules script that loads the uinput module. For more information, see Section 5.5, “Specifying Modules to be Loaded at Boot Time”.


Passes arguments to the name service daemon at boot time. The named daemon is a Domain Name System (DNS) server that is part of the Berkeley Internet Name Domain (BIND) distribution. This server maintains a table that associates host names with IP addresses on the network.


Specifies the host name of the system and whether networking is configured.


Controls which ports remote procedure call (RPC) services use for NFS v2 and v3. This file allows you to set up firewall rules for NFS v2 and v3. Firewall configuration for NFS v4 does not require you to edit this file.


Passes arguments to the network time protocol (NTP) daemon at boot time.


Passes arguments to the smbd, nmbd, and winbindd daemons at boot time to support file-sharing connectivity for Windows clients, NetBIOS-over-IP naming service, and connection management to domain controllers.

For more information, see /usr/share/doc/initscripts*/sysconfig.txt.