Today to add firewall rules to the server, accidentally deleted a rule, and then my remote connection is broken, my boss suddenly asked me iptables configuration file path where, at that time, I really do not know because all are command to add a firewall, the result was the boss to say the foundation is not solid.
Think also really, Linux study for more than a year, at the beginning so desperately learning is to lay a good foundation, the thought of their own foundation has been good enough, this shows that Linux is really broad and profound (it is really a frog in the well), their own really should reflect on the reflection of their own ...
All right, tidy up the files in the/etc/sysconfig/directory.
(1)/etc/sysconfig/acpid
Additional environment files for the PID.
(2)/ETC/SYSCONFIG/ATD
Specify additional command-line arguments for ATD.
(3)/ETC/SYSCONFIG/AUDITD
The system that the audit uses is added here
(4)/etc/sysconfig/authconfig
The content in this file is used by the host when authenticating. There may be a configuration item in this file that resembles the following:
The usemd5=:> can be one of the following values:
yes-use MD5 mode certification;
No-does not use MD5-mode authentication.
Usekerberos=: Can be one of the following values:
yes-using Kerberos Authentication
No-does not use Kerberos authentication
Useldapauth=: Can be one of the following values:
yes-Using LDAP authentication
No-does not use LDAP authentication
(5)/etc/sysconfig/clock
This file is used to control the interpretation of values read from the system hardware clock.
Zone=<filename>: Is the time zone file under/usr/share/zoneinfo, such as zone= "Asia/shanghai".
(6)/etc/sysconfig/cpuspeed
This configuration file controls the behavior of both methods, Cpuspeed daemons and various cpufreq modules.
(7)/ETC/SYSCONFIG/HTTPD
User configuration files for the HTTPD service
(8)/etc/sysconfig/i18n
Files used to configure the system language, system fonts
(9)/etc/sysconfig/firstboot
This file is the configuration file for the Firstboot daemon.
(Ten) Etc/sysconfig/ip6tables-config
The content saved in this file is used to give the kernel the Ip6tables service to start or set IPV6 filtering rules. It is recommended that you do not edit the contents of this file directly unless you are very familiar with the structure and rules of ip6tables. Rules can be created by using the/sbin/ip6tables command and save the rule to the/etc/sysconfig/ip6tables file, which saves the rule using this command: Service Ip6tables Save
Once all the rules are saved to the/etc/sysconfig/ip6tables file, the system IPV6 Firewall is set by reading the rules in this file when the Ip6tables service starts or when the system starts.
(one)/etc/sysconfig/iptables-config
The content saved in this file is used to give the kernel the Iptables service to start or set IPV4 filtering rules. It is recommended that you do not edit the contents of this file directly unless you are very familiar with the structure and rules of iptables. Rules can be created by using the/sbin/iptables command and save the rule to the/etc/sysconfig/iptables file, which saves the rule using this command: Service iptables save
Once all the rules are saved to the/etc/sysconfig/iptables file, the system IPV4 Firewall is set by reading the rules in this file when the Iptables service starts or when the system starts.
(/etc/sysconfig/kernel)
System Kernel settings file
(/etc/sysconfig/init)
The contents of this file are used to control display and other functions during system boot.
(/etc/sysconfig/netconsole)
This is the configuration file for the Netconsole service. By starting this service, the remote syslog daemon is allowed to record the console from native output.
(/ets/sysconfig/network-script/*)
This directory is about setting up some files for the network
(/ets/sysconfig/ntpdate)
Set the file for network sync time
(+)/ETC/SYSCONFIG/QUOTA_NLD
QUOTA_NLD daemon files, you can set different parameters.
-C do not print messages on the last user's terminal
-D do not forward messages to D-bus
(/etc/sysconfig/raid-check)
Check the RAID settings file.
(/etc/sysconfig/readonly-root)
To set the properties of a mounted file
(/ets/sysconfig/rsyslog)
Rsyslog is the default log processing software for the CENTOS6 series. The Rsyslog is based on a modular design, providing a high-performance, secure log processing system.
(/ETC/SYSCONFIG/SSHD)
The configuration file for the SSHD service.
(/etc/sysconfig/sysstat)
Lets you set the system log retention duration, compression type, and so on.
(/etc/sysconfig/system-config-users)
Set the ID number assigned to the primary and subordinate groups to which the new user belongs
(/etc/sysconfig/udev)
Sets whether yes/no will generate a cached shell file that will be executed by Makedev.
(+)/etc/sysconfig/wpa_supplicant
Set the network communication interface, disk, and other ways to display.
Linux under the/etc/sysconfig directory file detailed