Which file is responsible for configuring the inet daemon?
A.
/etc/inetd.conf
B.
/etc/xinetd.conf
C.
/etc/tcpd.conf
D.
/etc/inet.conf
Explanation/Reference:
From http://www.freebsd.org/doc/handbook/network-inetd.html:Configuration of inetd is done via the file /etc/inetd.conf. Each line of the configuration file specifies an individual daemon. Comments in the file are preceded by a “#”. The format of each entry in /etc/inetd.conf is as follows:
service-name
socket-type
protocol
{wait|nowait}[/max-child[/max-connections-per-ip-per-minute[/max-child-per-ip]]]
user[:group][/login-class]
server-program
server-program-argumentsAn example entry for the ftpd(8) daemon using IPv4 might read:
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l