nerdexam
CompTIA

LX0-104 · 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.. Replacing inetd with xinetd requires a new configuration file because xinetd uses a different and incompatible configuration syntax.

Essential System Services

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

(19 responses)
  • B
    5% (1)
  • C
    89% (17)
  • D
    5% (1)

Why each option

Replacing `inetd` with `xinetd` requires a new configuration file because `xinetd` uses a different and incompatible configuration syntax.

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

Creating a symbolic link from `inetd.conf` to `xinetd.conf` would not work because the file formats are incompatible, leading to `xinetd` failing to parse the configuration.

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

`inetd` and `xinetd` are not configuration-compatible; their respective configuration files (`/etc/inetd.conf` versus `/etc/xinetd.conf` and `/etc/xinetd.d/*`) have distinct syntaxes and directives.

CYou must create a new configuration file for xinetd.Correct

`xinetd` uses its own configuration file format and structure, typically located at `/etc/xinetd.conf` and individual service files in `/etc/xinetd.d/`. This format is different from `inetd`'s `/etc/inetd.conf`, so a new configuration must be created or converted for `xinetd` to function correctly.

DYou must run xinetd-configure first.

`xinetd-configure` is not a standard command or tool to automatically generate the configuration; administrators typically create or manually convert the configuration files.

Concept tested: inetd vs xinetd configuration differences

Source: https://man7.org/linux/man-pages/man8/xinetd.8.html

Topics

#xinetd#inetd#service configuration#system services

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice