What are some common files in /etc?

070

Some common files and directories found in the /etc directory include:

  1. /etc/passwd - Contains user account information.
  2. /etc/shadow - Stores encrypted user passwords and related information.
  3. /etc/group - Defines user groups and their members.
  4. /etc/fstab - Contains information about disk partitions and filesystems.
  5. /etc/hosts - Maps hostnames to IP addresses for local resolution.
  6. /etc/resolv.conf - Configures DNS servers for name resolution.
  7. /etc/network/interfaces (or /etc/sysconfig/network-scripts/) - Contains network interface configuration.
  8. /etc/hostname - Specifies the system's hostname.
  9. /etc/sudoers - Configures user permissions for the sudo command.
  10. /etc/cron.*/ - Directories for scheduled tasks (cron jobs).

These files play a crucial role in system configuration and management.

0 Comments

no data
Be the first to share your comment!