nerdexam
Linux_Foundation

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.

Submitted by weili_xi· Apr 18, 2026Service Configuration

Question

You have replaced inetd with xinetd.What must be done after installing to ensure that your machine will work correctly?

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)
  • A
    4% (1)
  • B
    4% (1)
  • C
    91% (21)

Why each option

When replacing `inetd` with `xinetd`, a new configuration file must be created for `xinetd` due to differing syntax.

AYou must add a symbolic link from inetd.conf to xinetd.conf.

Creating a symbolic link would not work because `xinetd` uses a distinct configuration file syntax that is incompatible with `inetd.conf`.

BYou don't have to do anything because they are compatible.

`inetd` and `xinetd` are functionally similar but are not directly configuration-compatible; their configuration file formats differ significantly.

CYou must create a new configuration file for xinetd.Correct

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`.

DYou must run xinetd-configure first.

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

#xinetd#inetd#Service Configuration#Super-server

Community Discussion

No community discussion yet for this question.

Full LFCS Practice