17.1. What to share

Of the many configuration files on a Linux system, only a subset can be usefully shared among machines. The most commonly shared files are listed in Table 17.1.

Table 17.1. System files that are commonly shared

Filename

Function

/etc/passwd

User account information database

/etc/shadow[a]

Holds shadow passwords

/etc/group

Defines UNIX groups

/etc/hosts

Maps between hostnames and IP addresses

/etc/networks[b]

Associates text names with IP network numbers

/etc/services

Lists port numbers for well-known network services

/etc/protocols

Maps text names to protocol numbers

/etc/ethers[b]

Maps between hostnames and Ethernet addresses

/etc/mail/aliases

Holds electronic mail ...

Get Linux Administration Handbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.