Book: LPI Linux Certification in a Nutshell Section: Chapter 22. Exam 102 Review Questions and Exercises
### 22.8 Networking Services (Topic 1.13) #### 22.8.1 Review Questions Describe the function of inetd and how it is configured. Describe the TCP Wrappers security tool and how it can enhance security on a networked system. Describe the use of mail aliases and how to enable new aliases. What files are used to configure the Apache web server? How does the administrator share a directory using NFS? How does the administrator mount a directory shared by a remote NFS server? What is the function of nmbd? Which file is used to configure smbd? Describe the function and location of the resolver. Name two programs that can be used to do queries against an NFS server. Describe in general terms the main difference between BIND v4 and BIND v8 configuration files. #### 22.8.2 Exercises Examine your inetd.conf. Are telnetd and ftpd enabled? If so, are TCP Wrappers (tcpd) configured for them? Enable TCP Wrappers and place `ALL:ALL` in /etc/hosts.deny, then attempt a Telnet session. Is the inbound request ignored as expected? Familiarize yourself with /etc/sendmail.cf and /etc/aliases. Run newaliases. Familiarize yourself with Apache configuration files in /etc/httpd/html/*.conf (or your directory location). Examine your /etc/exports file, if it exists. Are you sharing NFS volumes? Examine your /etc/smb.conf file. Are you sharing Samba printers or volumes? Examine your resolver configuration in /etc/resolv.conf, /etc/hosts.conf, and /etc/nsswitch.conf. Is the local /etc/hosts file consulted prior to DNS servers? By examining /etc/named.conf and noting format details, determine what general release of BIND you are using.