TECH SOLUTION

TECH SOLUTION

Saturday, 19 October 2013

SYSTEM CONFIGURATION FILES



System Configuration Files

1.     The system configuration files in the /etc directory are the first places a system administrator goes after installing a system to set it up.

2.     The /etc directory is probably the most often visited directory by a system administrator after their own home directory and /var/log.

3.     All of the systemwide important configuration files are found either in /etc or in one of it subdirectory.

4.     An advantage to keeping all system configuration files under /etc is that it’s easier to restore configurations for individual programs

5.     The important thing is that /etc are only modifiable by appropriate users. generally this means being modifiable only by root because these files are so important and their contents so sensitive such as users’ hashed passwords, host’s ssh key.

6.     Hence it is important to keep the file permissions set properly on everything in /etc.

7.     Almost all files should be owned by root, and nothing should be world writable.

8.     Some notable exceptions are files such as /etc/shadow, where users’ hashed passwords are stored, and /etc/wvdial.conf, which stores dial-up account names and passwords.

9.     The /etc/sysconfig directory contains configuration scripts written and configured by Red Hat and Red Hat administration tools.

10.      /etc/sysconfig contains both system and networking configuration files.

11.    Putting these files in /etc/sysconfig distinguishes them from other /etc configuration files not designed by Red Hat.

12.    Admin should keep these files in a separate directory so that the risk of other developers writing configuration files with the same names and putting them in the same place as existing config files, is reduced.

13.   The system configuration files can fall within a few different functions, some specify system duties, such as logging and automatically running programs with cron.

14.    Some system configuration files set appearance of the system, color for directory listing and banners that pop up when someone log in.


Note :-  cron scripts are scripts that runs within mentioned intervals.

No comments:

Post a Comment