Depending on a system’s configuration, which of the following files can be used to enable and disable network services running on this host?
A. /etc/profile
B. /etc/xinetd.conf
C. /etc/ports
D. /etc/services
E. /etc/host.conf
Depending on a system’s configuration, which of the following files can be used to enable and disable network services running on this host?
A. /etc/profile
B. /etc/xinetd.conf
C. /etc/ports
D. /etc/services
E. /etc/host.conf
Same > B
UNIX uses the /etc/services file as a small local database. For each service this
file specifies the service’s well-known port number and notes whether the service is available as a TCP or
UDP service.
https://www.cs.clemson.edu/course/cpsc424/material/TCP%20UDP%20Services/etc-services.pdf
The /etc/services file is used by applications to translate human readable service names into port numbers when connecting to a machine across a network. The file will typically include the service name, port/protocol, any aliases, and comments.
I have to add that after having the exam, I’m 100% sure it’s B!!!
I agree! Obviously B!! . /etc/service is for matching ports
its B:
https://www.thegeekdiary.com/understanding-etc-xinetd-d-directory-under-linux/
http://etutorials.org/Linux+systems/linux+security/Chapter+3.+Network+Access+Control/Recipe+3.3+Enabling+Disabling+a+Service+xinetd/
https://www.oreilly.com/library/view/linux-security-cookbook/0596003919/ch03s03.html