LPIC-1 Exam 102 v5 (Linux Administrator) — Question 8
Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?
Answer options
- A. /etc/profile
- B. /etc/xinetd.conf
- C. /etc/ports
- D. /etc/services
- E. /etc/host.conf
Correct answer: B
Explanation
The correct answer is B, as /etc/xinetd.conf is specifically used to manage services controlled by the xinetd daemon, allowing them to be enabled or disabled. The other options do not serve this purpose: /etc/profile is for user environment settings, /etc/ports defines port numbers, /etc/services lists network services, and /etc/host.conf configures host name resolution.