LFCS · Question #480
Which file is responsible for configuring the inet daemon?
The correct answer is A. /etc/inetd.conf. The inetd daemon, an internet super-server, is configured by its dedicated configuration file.
Question
Options
- A/etc/inetd.conf
- B/etc/xinetd.conf
- C/etc/tcpd.conf
- D/etc/inet.conf
How the community answered
(32 responses)- A94% (30)
- B3% (1)
- D3% (1)
Why each option
The `inetd` daemon, an internet super-server, is configured by its dedicated configuration file.
The `/etc/inetd.conf` file is the traditional configuration file for the `inetd` (Internet Daemon) super-server, which listens for network requests and launches appropriate server programs on demand.
`/etc/xinetd.conf` is the main configuration file for `xinetd`, which is a more advanced and secure replacement for `inetd`, but distinct from `inetd` itself.
`/etc/tcpd.conf` is not a standard configuration file for the `tcpd` (TCP Wrappers) program; `tcpd` primarily uses `/etc/hosts.allow` and `/etc/hosts.deny` for access control.
`/etc/inet.conf` is not a standard or recognized configuration file for the `inetd` daemon.
Concept tested: Linux inetd daemon configuration
Source: https://man7.org/linux/man-pages/man5/inetd.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.