Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 102-500 topic 1 question 52 discussion

Actual exam question from LPI's 102-500
Question #: 52
Topic #: 1
[All 102-500 Questions]

Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?

  • A. /etc/profile
  • B. /etc/xinetd.conf
  • C. /etc/ports
  • D. /etc/services
  • E. /etc/host.conf
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
serbal
Highly Voted 4 years ago
D is wrong answer, /etc/services just has port mapping and that it is, to disable or enable network services I think in Linux we should use /etc/xinetd.conf.
upvoted 36 times
3glag
4 years ago
yes you right
upvoted 5 times
...
CuriousLinuxCat
2 years, 8 months ago
Agreed, the TCP Wrapper of xinetd should be used to enable and disable network services that are running on the host.
upvoted 5 times
...
...
Admingui
Highly Voted 3 years, 10 months ago
yes cat /etc/services its just a port list. in the xinetd.conf there are disable yes/no options. B is the right answer
upvoted 13 times
...
fdat
Most Recent 11 months, 2 weeks ago
Selected Answer: B
xinetd is one of superdaemon which listen for incoming network connections and start the appropriate service on demand ref: https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/
upvoted 1 times
...
Mchoeti
1 year ago
Selected Answer: B
It is B use /etc/xinetd.conf.
upvoted 1 times
...
klever
1 year, 3 months ago
This file is not present on any modern distro, I checked CentOS 7 which is not that modern anymore and ubuntu 18.02 and there is only the xinetd.conf directory present with some telent file inside
upvoted 2 times
...
drliu1202
1 year, 8 months ago
Selected Answer: B
/etc/services is a file to define TCP/IP ports.
upvoted 4 times
drliu1202
1 year, 8 months ago
"In this section we will use xinetd to intercept connections to the sshd daemon and start this daemon on request to demonstrate how the superdaemon was used." https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/#:~:text=In%20this%20section%20we%20will%20use%20xinetd%20to%20intercept%20connections%20to%20the%20sshd%20daemon%20and%20start%20this%20daemon%20on%20request%20to%20demonstrate%20how%20the%20superdaemon%20was%20used.
upvoted 2 times
...
...
Lazylinux
1 year, 11 months ago
Selected Answer: B
Is correct
upvoted 2 times
...
amindiashvili
1 year, 12 months ago
Selected Answer: D
Answer is D. /etc/services
upvoted 2 times
drliu1202
1 year, 8 months ago
Option D is wrong. "On a Linux system, standard service ports are listed in the /etc/services file" https://learning.lpi.org/en/learning-materials/102-500/109/109.1/109.1_02/#:~:text=On%20a%20Linux%20system%2C%20standard%20service%20ports%20are%20listed%20in%20the%20/etc/services%20file
upvoted 3 times
...
...
serlan
2 years, 2 months ago
Selected Answer: B
B IS CORRECT
upvoted 3 times
...
med01947
2 years, 4 months ago
Selected Answer: B
B IS CORRECT !
upvoted 4 times
...
anhcq
2 years, 4 months ago
Selected Answer: B
xinetd is one of superdaemon which listen for incoming network connections and start the appropriate service on demand ref: https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/
upvoted 7 times
...
Thi_86
3 years, 7 months ago
"B" is correct.
upvoted 8 times
...
edgarchaa
3 years, 8 months ago
can confirm B is correct
upvoted 9 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...