Network Client Management (Topic 2.210)

Review Questions

  1. Consider the following entry in a configuration file:

    host voip
      {
        hardware ethernet 00:13:10:22:57:f5;
        fixed-address 192.168.2.104;
       }

    This code belongs in a configuration file of a particular service. Name the service, and explain the practical result of this file.

  2. You wish to learn about the active leases on a DHCP server. What file will give you this information?

  3. You have configured a portion of the nsswitch.conf to read as follows:

    passwd:     nisplus files
    shadow:     nisplus files
    group:      nisplus files

    What will happen during the login process once these changes take effect?

  4. Consider the following entry in the /etc/nisswitch.conf file:

    hosts:      files nisplus dns

    Which resource is consulted last when a host makes a name query?

  5. What file can you check to verify whether NIS clients are allowed to use your NIS server?

  6. When editing the slapd.conf file, what must you remember about lines that begin with white space at the beginning of a line?

  7. You have just made a change to the /etc/pam.d/login file. What do you need to do in order for PAM to recognize the change?

Answers

  1. This file belongs to the DHCP service (dhcpd). The host named voip will always receive the address of 192.168.2.104 via the DHCP server when it boots.

  2. The dhcpd.leases file, which is often located in the /var/lib/dhcp directory, gives you the information you need about leases on the system.

  3. Users who log in will be authenticated using NIS, rather than local files (e.g., /etc/passwd and ...

Get LPI Linux Certification in a Nutshell, 2nd 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.