Important files in/etc directory
/etc/sysconfig/network the network configuration information on the specified server/etc/rc.d/init.d/network the network configuration script information Network configuration script, Power on the script file to read the corresponding configuration file, provide initialization settings. /etc/rc.d/init.d/network Read/etc/sysconfig/network-script/ifcfg-eth0 provides NIC eth0 set service network Restart also calls this script. /etc/issue boot start Display system version and other information consider security optimizations, delete files/etc/motd login reminders, log on after login to display the string/etc/redhat-release declaration system version and name/etc /group user group file/etc/gshadow user group password file/etc/passwd user account file/etc/sudoers execute sudo command file visudo command edit /etc/ Sudoers visudo-c Check Grammar command/etc/shadow account password file Set those terminals can let the root login/etc/login.defs All users log on the default settings /etc/syslog.conf Log settings file/etc/rsyslog.conf log settings file/etc/sysconfig/network hostname file/etc/rc.local Boot file/etc/fstab boot file /etc/profile Global environment variable file after login script execution location/etc/inittab startup files
Linux system's/etc directory