LFCS · Question #454
You have replaced inetd with xinetd.What must be done after installing to ensure that your machine will work correctly?
The correct answer is C. You must create a new configuration file for xinetd. When replacing inetd with xinetd, a new configuration file must be created for xinetd due to differing syntax.
Question
Options
- AYou must add a symbolic link from inetd.conf to xinetd.conf.
- BYou don't have to do anything because they are compatible.
- CYou must create a new configuration file for xinetd.
- DYou must run xinetd-configure first.
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- C91% (21)
Why each option
When replacing `inetd` with `xinetd`, a new configuration file must be created for `xinetd` due to differing syntax.
Creating a symbolic link would not work because `xinetd` uses a distinct configuration file syntax that is incompatible with `inetd.conf`.
`inetd` and `xinetd` are functionally similar but are not directly configuration-compatible; their configuration file formats differ significantly.
While `xinetd` is a super-server like `inetd`, it uses a different configuration file format and structure, typically `xinetd.conf` and service-specific files in `xinetd.d/`. Therefore, existing `inetd.conf` configurations must be rewritten for `xinetd`.
There is no standard `xinetd-configure` command; configuration is typically done by editing text files.
Concept tested: `xinetd` vs `inetd` configuration
Source: https://www.man7.org/linux/man-pages/man5/xinetd.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.