5.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:

atd

Specifies additional command line arguments for the atd daemon.

authconfig

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.

autofs

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

crond

Passes arguments to the crond daemon at boot time.

i18n

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

init

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

ip6tables-config

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

ip6tables

Stores firewall configuration rules for IPv6.

iptables-config

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

iptables

Stores firewall configuration rules for IPv4.

keyboard

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 6.5, “Specifying Modules to be Loaded at Boot Time”.

named

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.

network

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

nfs

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.

ntpd

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

samba

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.