LFCS practice question 6 of 35
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
Full set: 260 questionsThe tcpd program is the core component of the TCP Wrappers access control facility. It is a "wrapper" program that is invoked by a super-server (like inetd or xinetd) for network services. tcpd consults the /etc/hosts.allow and /etc/hosts.deny files to determine if the connection from a specific client should be permitted before passing it to the actual service daemon.
B. inetd is a super-server that can be configured to use tcpd to launch services, but it does not read the hosts.allow file itself.
C. fingerd is an example of a service daemon that can be protected by tcpd, but it is not the program that performs the access control check.
D. mountd is the NFS mount daemon. While it can be protected by TCP Wrappers, it does not perform the primary check of the hosts.allow file.
E. xinetd is a modern replacement for inetd. Like inetd, it can use tcpd but does not directly process the hosts.allow file for its main task.
- The Linux man-pages project. (2017). hostsaccess(5) — Linux manual page. Section: DESCRIPTION. "This document describes a simple access control language which is based on client (host name/address, user name), and server (process name, host name/address) patterns. ... The language is used by the tcpd program".
- Wietse Venema. (1992). TCP WRAPPER: Network monitoring, access control, and booby traps. Proceedings of the Third Usenix UNIX Security Symposium. pp. 85-92. This paper by the creator of TCP Wrappers describes the function of the tcpd program in relation to the access control files.
Keep practicing
Take the free LFCS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other LFCS practice questions
- Question 1Which of the following commands should be added to /etc/bash_profile in order to change t…
- Question 2Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 3Which of the following tasks can be accomplished using the command date? (Choose TWO corr…
- Question 4Which of the following environment variables overrides or extends the list of directories…
- Question 5Which of the following are syslog facilities? (Choose TWO correct answers.)
- Question 7What does the ? symbol within regular expressions represent?
