/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.
Note
/etc/sysconfig/
directory depends on the programs you have installed on your machine. To find the name of the package the configuration file belongs to, type the following at a shell prompt as root
:
yum provides /etc/sysconfig/file_name
/etc/sysconfig/
directory.
/etc/sysconfig/arpwatch
file is used to pass arguments to the arpwatch
daemon at boot time. By default, it contains the following option:
OPTIONS=value
arpwatch
daemon. For example:
OPTIONS="-u arpwatch -e root -s 'root (Arpwatch)'"
/etc/sysconfig/authconfig
file sets the authorization to be used on the host. By default, it contains the following options:
USEMKHOMEDIR=boolean
yes
) or disable (no
) creating a home directory for a user on the first login. For example:
USEMKHOMEDIR=no
USEPAMACCESS=boolean
yes
) or disable (no
) the PAM authentication. For example:
USEPAMACCESS=no
USESSSDAUTH=boolean
yes
) or disable (no
) the SSSD authentication. For example:
USESSSDAUTH=no
USESHADOW=boolean
yes
) or disable (no
) shadow passwords. For example:
USESHADOW=yes
USEWINBIND=boolean
yes
) or disable (no
) using Winbind for user account configuration. For example:
USEWINBIND=no
USEDB=boolean
yes
) or disable (no
) the FAS authentication. For example:
USEDB=no
USEFPRINTD=boolean
yes
) or disable (no
) the fingerprint authentication. For example:
USEFPRINTD=yes
FORCESMARTCARD=boolean
yes
) or disable (no
) enforcing the smart card authentication. For example:
FORCESMARTCARD=no
PASSWDALGORITHM=value
bigcrypt
, descrypt
, md5
, sha256
, or sha512
. For example:
PASSWDALGORITHM=sha512
USELDAPAUTH=boolean
yes
) or disable (no
) the LDAP authentication. For example:
USELDAPAUTH=no
USELOCAUTHORIZE=boolean
yes
) or disable (no
) the local authorization for local users. For example:
USELOCAUTHORIZE=yes
USECRACKLIB=boolean
yes
) or disable (no
) using the CrackLib. For example:
USECRACKLIB=yes
USEWINBINDAUTH=boolean
yes
) or disable (no
) the Winbind authentication. For example:
USEWINBINDAUTH=no
USESMARTCARD=boolean
yes
) or disable (no
) the smart card authentication. For example:
USESMARTCARD=no
USELDAP=boolean
yes
) or disable (no
) using LDAP for user account configuration. For example:
USELDAP=no
USENIS=boolean
yes
) or disable (no
) using NIS for user account configuration. For example:
USENIS=no
USEKERBEROS=boolean
yes
) or disable (no
) the Kerberos authentication. For example:
USEKERBEROS=no
USESYSNETAUTH=boolean
yes
) or disable (no
) authenticating system accounts with network services. For example:
USESYSNETAUTH=no
USESMBAUTH=boolean
yes
) or disable (no
) the SMB authentication. For example:
USESMBAUTH=no
USESSSD=boolean
yes
) or disable (no
) using SSSD for obtaining user information. For example:
USESSSD=no
USEHESIOD=boolean
yes
) or disable (no
) using the Hesoid name service. For example:
USEHESIOD=no
/etc/sysconfig/autofs
file defines custom options for the automatic mounting of devices. This file controls the operation of the automount daemons, which automatically mount file systems when you use them and unmount them after a period of inactivity. File systems can include network file systems, CD-ROM drives, diskettes, and other media.
MASTER_MAP_NAME=value
MASTER_MAP_NAME="auto.master"
TIMEOUT=value
TIMEOUT=300
NEGATIVE_TIMEOUT=value
NEGATIVE_TIMEOUT=60
MOUNT_WAIT=value
mount
. For example:
MOUNT_WAIT=-1
UMOUNT_WAIT=value
umount
. For example:
UMOUNT_WAIT=12
BROWSE_MODE=boolean
yes
) or disable (no
) browsing the maps. For example:
BROWSE_MODE="no"
MOUNT_NFS_DEFAULT_PROTOCOL=value
mount.nfs
. For example:
MOUNT_NFS_DEFAULT_PROTOCOL=4
APPEND_OPTIONS=boolean
yes
) or disable (no
) appending the global options instead of replacing them. For example:
APPEND_OPTIONS="yes"
LOGGING=value
none
, verbose
, or debug
. For example:
LOGGING="none"
LDAP_URI=value
protocol://server
. For example:
LDAP_URI="ldaps://ldap.example.com/"
LDAP_TIMEOUT=value
LDAP_TIMEOUT=-1
LDAP_NETWORK_TIMEOUT=value
LDAP_NETWORK_TIMEOUT=8
SEARCH_BASE=value
SEARCH_BASE=""
AUTH_CONF_FILE=value
AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
MAP_HASH_TABLE_SIZE=value
MAP_HASH_TABLE_SIZE=1024
USE_MISC_DEVICE=boolean
yes
) or disable (no
) using the autofs miscellaneous device. For example:
USE_MISC_DEVICE="yes"
OPTIONS=value
OPTIONS=""
/etc/sysconfig/clock
file controls the interpretation of values read from the system hardware clock. It is used by the Date/Time Properties tool, and should not be edited by hand. By default, it contains the following option:
ZONE=value
/usr/share/zoneinfo
that /etc/localtime
is a copy of. For example:
ZONE="Europe/Prague"
/etc/sysconfig/dhcpd
file is used to pass arguments to the dhcpd
daemon at boot time. By default, it contains the following options:
DHCPDARGS=value
dhcpd
daemon. For example:
DHCPDARGS=
/etc/sysconfig/firstboot
file defines whether to run the firstboot
utility. By default, it contains the following option:
RUN_FIRSTBOOT=boolean
YES
) or disable (NO
) running the firstboot
program. For example:
RUN_FIRSTBOOT=NO
init
program calls the /etc/rc.d/init.d/firstboot
script, which looks for the /etc/sysconfig/firstboot
file. If this file does not contain the RUN_FIRSTBOOT=NO
option, the firstboot
program is run, guiding a user through the initial configuration of the system.
Note
firstboot
program the next time the system boots, change the value of RUN_FIRSTBOOT
option to YES
, and type the following at a shell prompt as root
:
systemctl enable firstboot-graphical.service
/etc/sysconfig/i18n
configuration file defines the default language, any supported languages, and the default system font. By default, it contains the following options:
LANG=value
LANG="en_US.UTF-8"
SUPPORTED=value
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT=value
SYSFONT="latarcyrheb-sun16"
/etc/sysconfig/init
file controls how the system appears and functions during the boot process. By default, it contains the following options:
BOOTUP=value
color
(the standard color boot display), verbose
(an old style display which provides more information), or anything else for the new style display, but without ANSI formatting. For example:
BOOTUP=color
RES_COL=value
RES_COL=60
MOVE_TO_COL=value
RES_COL
(see above). For example:
MOVE_TO_COL="echo -en \\033[${RES_COL}G"
SETCOLOR_SUCCESS=value
SETCOLOR_SUCCESS="echo -en \\033[0;32m"
SETCOLOR_FAILURE=value
SETCOLOR_FAILURE="echo -en \\033[0;31m"
SETCOLOR_WARNING=value
SETCOLOR_WARNING="echo -en \\033[0;33m"
SETCOLOR_NORMAL=value
SETCOLOR_NORMAL="echo -en \\033[0;39m"
LOGLEVEL=value
1
(kernel panics only) to 8
(everything, including the debugging information). For example:
LOGLEVEL=3
PROMPT=boolean
yes
) or disable (no
) the hotkey interactive startup. For example:
PROMPT=yes
AUTOSWAP=boolean
yes
) or disable (no
) probing for devices with swap signatures. For example:
AUTOSWAP=no
ACTIVE_CONSOLES=value
ACTIVE_CONSOLES=/dev/tty[1-6]
SINGLE=value
/sbin/sulogin
(a user will be prompted for a password to log in), or /sbin/sushell
(the user will be logged in directly). For example:
SINGLE=/sbin/sushell
/etc/sysconfig/ip6tables-config
file stores information used by the kernel to set up IPv6 packet filtering at boot time or whenever the ip6tables
service is started. Note that you should not modify it unless you are familiar with ip6tables
rules. By default, it contains the following options:
IP6TABLES_MODULES=value
IP6TABLES_MODULES="ip_nat_ftp ip_nat_irc"
IP6TABLES_MODULES_UNLOAD=boolean
yes
) or disable (no
) module unloading when the firewall is stopped or restarted. For example:
IP6TABLES_MODULES_UNLOAD="yes"
IP6TABLES_SAVE_ON_STOP=boolean
yes
) or disable (no
) saving the current firewall rules when the firewall is stopped. For example:
IP6TABLES_SAVE_ON_STOP="no"
IP6TABLES_SAVE_ON_RESTART=boolean
yes
) or disable (no
) saving the current firewall rules when the firewall is restarted. For example:
IP6TABLES_SAVE_ON_RESTART="no"
IP6TABLES_SAVE_COUNTER=boolean
yes
) or disable (no
) saving the rule and chain counters. For example:
IP6TABLES_SAVE_COUNTER="no"
IP6TABLES_STATUS_NUMERIC=boolean
yes
) or disable (no
) printing IP addresses and port numbers in a numeric format in the status output. For example:
IP6TABLES_STATUS_NUMERIC="yes"
IP6TABLES_STATUS_VERBOSE=boolean
yes
) or disable (no
) printing information about the number of packets and bytes in the status output. For example:
IP6TABLES_STATUS_VERBOSE="no"
IP6TABLES_STATUS_LINENUMBERS=boolean
yes
) or disable (no
) printing line numbers in the status output. For example:
IP6TABLES_STATUS_LINENUMBERS="yes"
Note
ip6tables
command. Once created, type the following at a shell prompt as root
:
service ip6tables save
/etc/sysconfig/ip6tables
file. Once this file exists, any firewall rules saved in it persist through a system reboot or a service restart.
/etc/sysconfig/keyboard
file controls the behavior of the keyboard. By default, it contains the following options:
KEYTABLE=value
/lib/kbd/keymaps/i386/
directory, and branch into different keyboard layouts from there, all labeled value.kmap.gz
. The first file name that matches the KEYTABLE
setting is used. For example:
KEYTABLE="us"
MODEL=value
MODEL="pc105+inet"
LAYOUT=value
LAYOUT="us"
KEYBOARDTYPE=value
pc
(a PS/2 keyboard), or sun
(a Sun keyboard). For example:
KEYBOARDTYPE="pc"
/etc/sysconfig/ldap
file holds the basic configuration for the LDAP server. By default, it contains the following options:
SLAPD_OPTIONS=value
slapd
daemon. For example:
SLAPD_OPTIONS="-4"
SLURPD_OPTIONS=value
slurpd
daemon. For example:
SLURPD_OPTIONS=""
SLAPD_LDAP=boolean
yes
) or disable (no
) using the LDAP over TCP (that is, ldap:///
). For example:
SLAPD_LDAP="yes"
SLAPD_LDAPI=boolean
yes
) or disable (no
) using the LDAP over IPC (that is, ldapi:///
). For example:
SLAPD_LDAPI="no"
SLAPD_LDAPS=boolean
yes
) or disable (no
) using the LDAP over TLS (that is, ldaps:///
). For example:
SLAPD_LDAPS="no"
SLAPD_URLS=value
SLAPD_URLS="ldapi:///var/lib/ldap_root/ldapi ldapi:/// ldaps:///"
SLAPD_SHUTDOWN_TIMEOUT=value
slapd
to shut down. For example:
SLAPD_SHUTDOWN_TIMEOUT=3
SLAPD_ULIMIT_SETTINGS=value
ulimit
before the slapd
daemon is started. For example:
SLAPD_ULIMIT_SETTINGS=""
/etc/sysconfig/named
file is used to pass arguments to the named
daemon at boot time. By default, it contains the following options:
ROOTDIR=value
named
daemon runs. The value has to be a full directory path. For example:
ROOTDIR="/var/named/chroot"
info chroot
at a shell prompt for more information).
OPTIONS=value
named
. For example:
OPTIONS="-6"
-t
option. Instead, use ROOTDIR
as described above.
KEYTAB_FILE=value
KEYTAB_FILE="/etc/named.keytab"
/etc/sysconfig/network
file is used to specify information about the desired network configuration. By default, it contains the following options:
NETWORKING=boolean
yes
) or disable (no
) the networking. For example:
NETWORKING=yes
HOSTNAME=value
HOSTNAME=penguin.example.com
GATEWAY=value
GATEWAY=192.168.1.0
Warning
/etc/sysconfig/ntpd
file is used to pass arguments to the ntpd
daemon at boot time. By default, it contains the following option:
OPTIONS=value
ntpd
. For example:
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g"
/etc/sysconfig/quagga
file holds the basic configuration for Quagga daemons. By default, it contains the following options:
QCONFDIR=value
QCONFDIR="/etc/quagga"
BGPD_OPTS=value
bgpd
daemon. For example:
BGPD_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/bgpd.conf"
OSPF6D_OPTS=value
ospf6d
daemon. For example:
OSPF6D_OPTS="-A ::1 -f ${QCONFDIR}/ospf6d.conf"
OSPFD_OPTS=value
ospfd
daemon. For example:
OSPFD_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/ospfd.conf"
RIPD_OPTS=value
ripd
daemon. For example:
RIPD_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/ripd.conf"
RIPNGD_OPTS=value
ripngd
daemon. For example:
RIPNGD_OPTS="-A ::1 -f ${QCONFDIR}/ripngd.conf"
ZEBRA_OPTS=value
zebra
daemon. For example:
ZEBRA_OPTS="-A 127.0.0.1 -f ${QCONFDIR}/zebra.conf"
ISISD_OPTS=value
isisd
daemon. For example:
ISISD_OPTS="-A ::1 -f ${QCONFDIR}/isisd.conf"
WATCH_OPTS=value
watchquagga
daemon. For example:
WATCH_OPTS="-Az -b_ -r/sbin/service_%s_restart -s/sbin/service_%s_start -k/sbin/service_%s_stop"
WATCH_DAEMONS=value
WATCH_DAEMONS="zebra bgpd ospfd ospf6d ripd ripngd"
/etc/sysconfig/radvd
file is used to pass arguments to the radvd
daemon at boot time. By default, it contains the following option:
OPTIONS=value
radvd
daemon. For example:
OPTIONS="-u radvd"
/etc/sysconfig/samba
file is used to pass arguments to the Samba daemons at boot time. By default, it contains the following options:
SMBDOPTIONS=value
smbd
. For example:
SMBDOPTIONS="-D"
NMBDOPTIONS=value
nmbd
. For example:
NMBDOPTIONS="-D"
WINBINDOPTIONS=value
winbindd
. For example:
WINBINDOPTIONS=""
/etc/sysconfig/saslauthd
file is used to control which arguments are passed to saslauthd
, the SASL authentication server. By default, it contains the following options:
SOCKETDIR=value
saslauthd
's listening socket. For example:
SOCKETDIR=/var/run/saslauthd
MECH=value
MECH=pam
DAEMONOPTS=value
daemon()
function that is used by the /etc/rc.d/init.d/saslauthd
init script to start the saslauthd
service. For example:
DAEMONOPTS="--user saslauth"
FLAGS=value
saslauthd
service. For example:
FLAGS=
/etc/sysconfig/selinux
file contains the basic configuration options for SELinux. It is a symbolic link to /etc/selinux/config
, and by default, it contains the following options:
SELINUX=value
enforcing
(the security policy is always enforced), permissive
(instead of enforcing the policy, appropriate warnings are displayed), or disabled
(no policy is used). For example:
SELINUX=enforcing
SELINUXTYPE=value
targeted
(the targeted processes are protected), or mls
(the Multi Level Security protection). For example:
SELINUXTYPE=targeted
/etc/sysconfig/sendmail
file is used to set the default values for the Sendmail application. By default, it contains the following values:
DAEMON=boolean
yes
) or disable (no
) running sendmail
as a daemon. For example:
DAEMON=yes
QUEUE=value
QUEUE=1h
/etc/sysconfig/spamassassin
file is used to pass arguments to the spamd
daemon (a daemonized version of SpamAssassin) at boot time. By default, it contains the following option:
SPAMDOPTIONS=value
spamd
daemon. For example:
SPAMDOPTIONS="-d -c -m5 -H"
/etc/sysconfig/squid
file is used to pass arguments to the squid
daemon at boot time. By default, it contains the following options:
SQUID_OPTS=value
squid
daemon. For example:
SQUID_OPTS=""
SQUID_SHUTDOWN_TIMEOUT=value
squid
daemon to shut down. For example:
SQUID_SHUTDOWN_TIMEOUT=100
SQUID_CONF=value
SQUID_CONF="/etc/squid/squid.conf"
/etc/sysconfig/system-config-users
file is the configuration file for the User Manager tool, and should not be edited by hand. By default, it contains the following options:
FILTER=boolean
true
) or disable (false
) filtering of system users. For example:
FILTER=true
ASSIGN_HIGHEST_UID=boolean
true
) or disable (false
) assigning the highest available UID to newly added users. For example:
ASSIGN_HIGHEST_UID=true
ASSIGN_HIGHEST_GID=boolean
true
) or disable (false
) assigning the highest available GID to newly added groups. For example:
ASSIGN_HIGHEST_GID=true
PREFER_SAME_UID_GID=boolean
true
) or disable (false
) using the same UID and GID for newly added users when possible. For example:
PREFER_SAME_UID_GID=true
/etc/sysconfig/vncservers
file configures the way the Virtual Network Computing (VNC) server starts up. By default, it contains the following options:
VNCSERVERS=value
display:username
pairs. For example:
VNCSERVERS="2:myusername"
VNCSERVERARGS[display]=value
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
/etc/sysconfig/xinetd
file is used to pass arguments to the xinetd
daemon at boot time. By default, it contains the following options:
EXTRAOPTIONS=value
xinetd
. For example:
EXTRAOPTIONS=""
XINETD_LANG=value
xinetd
. Note that to remove locale information from the xinetd
environment, you can use an empty string (""
) or none
. For example:
XINETD_LANG="en_US"
xinetd
services, refer to the Fedora System Administrator's Guide.