Table 10: Key Linux Files / Subdirectories under /etc
File/Directory (indicated
by *)
|
Description
|
bashrc
|
The system-wide configurations
file for the Bourne Again Shell. Defines functions and aliases for
all users.
|
crontab and
the cron.d* directories
|
Configuration of tasks that need
to be executed periodically, backups, updates of the system databases,
cleaning of the system, rotating logs etc.
|
default*
|
Default options for certain commands,
such as useradd.
|
filesystems
|
Known file systems: ext3, vfat,
iso9660 etc.
|
fstab
|
Lists partitions and their mount
points.
|
ftpaccess, ftphost,
ftpuser
|
Configuration of the ftp-server:
who can connect, what parts of the system are accessible etc.
|
group
|
Configuration file for user groups.
The shadow utilities groupadd, groupmod and groupdel are used to edit
this file. Edit manually only if you really know what you are doing.
|
grub.conf
|
Boot information.
|
hosts
|
A list of machines that can be
contacted using the network, but without the need for a domain name
service. This has nothing to do with the systemâs
network configuration, which is usually done in /etc/sysconfig.
|
httpd*
|
Config files for the Apache web
server.
|
inittab
|
Information for booting: mode,
number of text consoles etc.
|
issue
|
Information about the distribution
(release version and/or kernel info).
|
ld.so.conf
|
Locations of library files.
|
lilo.conf, silo.conf,
aboot.conf etc.
|
Boot information for the LInux
LOader, the system for booting that was in use before Lilo changed to
GRUB.
|
logrotate.d*
|
Rotation of the logs, a system
preventing the collection of huge amounts of log files.
|
mail
|
Directory containing instructions
for the behavior of the mail server.
|
modules.conf
|
Configuration of modules that
enable special features (drivers).
|
motd
|
Message Of The Day: Shown to
everyone who connects to the system (in text mode), may be used by the
system administrator to announce system services/maintenance etc.
|
mtab
|
Currently mounted file systems.
It is advised to never edit this file.
|
nsswitch.conf
|
Order in which to contact the
name resolvers when a process demands resolving of a host name.
|
pam.d*
|
Configuration of authentication
modules.
|
passwd
|
Lists local users. Use the shadow
utilities useradd, usermod and userdel to edit this file. Edit manually
only when you really know what you are doing.
|
profile
|
System wide configuration of
the shell environment: variables, default properties of new files, limitation
of resources etc.
|
rc.d*
|
Directories defining active services
for each run level.
init.d - contains startup scripts
rc0.d-rc6.d - directories for startup run levels
rc.local -
|
resolv.conf
|
Order in which to contact DNS
servers (Domain Name Servers only).
|
sendmail.cf
|
Main config file for the Sendmail
server.
|
services
|
Connections accepted by this
machine (open ports).
|
sndconfig and
sound
|
Configuration of the sound card
and sound events.
|
ssh
|
Directory containing the config
files for secure shell client and server.
|
sysconfig
|
Directory containing the system
configuration files: mouse, keyboard, network, desktop, system clock,
power management, etc. Not all distributions use this directory.
|
X11
|
Settings for the graphical server,
X. Name of the main configuration file, XF86Config (created by a tool
like Xconfigurator). Also contains the general directions for the window
managers available on the system, for example gdm, fvwm, twm, etc.
|
xinetd.d*
|
Configuration files for Internet
services that are run from the systemâs (extended)
Internet services daemon (servers that donât run an
independent daemon).
|