» Linux »
Examen sur Linux »
Examen 201 : Advanced Administration »
Section 5 »
Question 6/23
Explanation: The hosts.allow file is read before the hosts.deny file. This means that you can block access to 'all'
in the hosts.deny file, but allow access to specific ports by specific hosts in the hosts.allow file. In this answer,
we are blocking all ports to all hosts in the hosts.deny file. However, we are allowing access to the port map
service for all hosts in the hosts.allow file. (The port map service is for access to NFS).
Reference: http://www.mandrakeuser.org/docs/connect/cnfs2.html
Incorrect Answers
A: Xinetd must be running.
B: NFS uses the portmapper service. Therefore, you should enter 'port map: ALL' in the hosts.allow file.
C: IPChains is a firewall program. This may work (if you have IPChains running), however using the hosts.allow and hosts.deny files is much simpler.
E: The module and command in this question don't exist or are incorrectly named.