This is the third day of my participation in the More text Challenge. For details, see more text Challenge

User files

/etc/passwd Stores account information

/etc/shadow Stores the user password

Group file

/etc/group Stores group information

/etc/gshadow Specifies the group password

The system configuration

/etc/rc.d/init.d is used to place the startup script for almost all services

/etc/profile System environment

/etc/bashrc System variables

/etc/hosts or /etc/sysconfig/network Change the host name

/etc/inittab sets the default startup level

/etc/aliases Specifies the alias configuration file

/boot/grub/grub.conf Kernel boot configuration

/etc/fstab mounts the file system

/etc/sysconfig/i18n language configuration file

/etc/crontab Crontab configuration file

/etc/sudoers sudo configuration file

/etc/motd Indicates the content after entering the user name and password

/etc/login.defs Generates a new user. Basic parameters

/var/spool/at/ Directory for storing at time tasks

/etc/at.deny Disables time tasks for users

/etc/at.allow Allows time tasks for users

The network configuration

/etc/sysconfig/network-scripts/ifcfg-ethx Ethx nic configuration

Conf specifies the IP address of the DNS server

/etc/hosts File corresponding to the host name and IP address

Security configuration

/etc/sysconfig/iptables Main firewall configuration file

/etc/pam.d/su restricts the use of SU

/etc/secruetty restricts user root from directly logging in to the terminal

The/etc/secrrity/access. Conf limit a user login

/etc/nologin restricts the login of all users

/etc/sudoers forces the user to enter a password each time using sudo

/etc/security/time.conf sets the system login time

/etc/selinux/config Selinux configuration file

/etc/hosts.allow TCP a license table

/etc/hosts.deny INDICATES a TCP deny table

Home directory configuration file

~/.bash_profile

When the user logs in, the file is executed only once! By default, he sets some environment variables to execute the user’s.bashrc file

~/.bashrc

This file contains bash information specific to your bash shell and is read during login and every time a new shell is opened

~/.bash_logout

This file is executed each time you exit the system (exit the Bash shell). Generally used for garbage removal, the removal of history

The log file

/etc/logrottate. Conf Log file level options

/var/log/message Kernel messages and common log information of various applications

/var/log/secure Indicates security events related to user authentication

/var/log/cron Crond Indicates the time when a periodic scheduled task is generated

/var/log/lastlog Recent login events of each user

/var/log/wtmp Each user login and logout and system startup and shutdown events

/var/log/btmp Failed or incorrect login attempts and verification events

/var/log/maillog To enter or send system email activity

Yum configuration

/etc/yum

/etc/yum. Repos. d/ repository configuration file

Apache configuration

The/etc/HTTPD/conf/HTTPD. Conf master configuration file

/etc/httpd/conf.d/*. Conf subconfiguration file

The /var/www/html default publishing directory

/etc/httpd/logs/* Log file

SSH configuration

/etc/ssh/sshd_config Server configuration file

/etc/ssh/ssh_config Client configuration file

~/. SSH /authorized_keys Public key of the remote host

The DNS configuration

/etc/named.conf DNS configuration file

/etc/named.rfc196. zones DNS zone file

/var/named/stores DNS records

FTP configuration

/etc/vsftpd/vsftpd.conf Configuration file

The/etc/VSFTPD/user_list blacklist

/etc/vsftpd/user_list Black/white list configuration file

/etc/vsftpd.chroot_list Specifies the list of locked user home directories

The DHCP configuration

/etc/dhcpd.conf The main configuration file

Sample template file: /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample

/ var/lib/DHCP/DHCPD. Leases to see which users use your DHCP server

Samba configuration

/etc/samba/smb.conf Main configuration file

Nginx configuration

The/etc/nginx/conf/nginx. Conf master configuration file

The /usr/share/nginx/html page is stored by default

The/usr/lib64 / systemd/system/nginx. Service management script

The/usr/lisb64 / nginx/modules modules

/usr/sbin/nginx application

/var/log/nginx log file

Telnet configuration

/etc/xinetd.d/ Telnet master configuration file

D /login by default, the root user cannot login. You can modify this configuration file

Mysql configuration

/etc/my.cnf main configuration file

/usr/share/mysql/ Default database file directory

/var/lib/mysqld_database directory