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

Exam 102-500 topic 1 question 84 discussion

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

After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective?

  • A. The new configuration becomes effective after restarting the respective service.
  • B. The new configuration becomes effective at the next system reboot.
  • C. The new configuration becomes effective when the last established connection to the service is closed.
  • D. The new configuration becomes effective after restarting the tcpd service.
  • E. The new configuration becomes effective immediately for all new connections.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
drliu1202
1 month, 4 weeks ago
Selected Answer: E
"The changes take effect immediately, there is no need to restart any service." https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/#:~:text=The%20changes%20take%20effect%20immediately%2C%20there%20is%20no%20need%20to%20restart%20any%20service.
upvoted 1 times
...
Lazylinux
5 months, 1 week ago
Selected Answer: E
E for sure and below is summary for all..just quick not this service is being phased out and replaced with firewall/iptables and not all services support it Controlling Access with TCP Wrappers: Two files control access to a TCP Wrapper service via IP address /etc/hosts.allow - allows access to IPs on the list /etc/hosts.deny - Blocks access to IPs on the list This is how the access is granted or denied based on the above two files when is service request comes in and order is as per below
upvoted 1 times
Lazylinux
5 months, 1 week ago
Hosts.allow is checked for IP address of requester If IP is found then access is granted and nothing further needed or checked If IP not found in hosts.allow file then hosts.deny file is checked for the IP If IP is found then Access is DENIED If NOT found then access is GRANTED-ALLOWED If IP is NOT found in either files I.e. Allow and DENY then access is GRANTED As Note: use the ALL wild card in the /etc/hosts.deny ALL:ALL and ONLY necessary if using hosts.allow TCP-wrapped services do not cache the rules from the hosts access files, so any changes to hosts.allow or hosts.deny take effect immediately, without restarting network services.
upvoted 1 times
...
...
engine104
5 months, 3 weeks ago
"TCP-wrapped services do not cache the rules from the hosts access files, so any changes to hosts.allow or hosts.deny take effect immediately, without restarting network services. " source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-tcp_wrappers_and_xinetd-tcp_wrappers_configuration_files
upvoted 2 times
drliu1202
1 month, 4 weeks ago
"The changes take effect immediately, there is no need to restart any service." https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/#:~:text=The%20changes%20take%20effect%20immediately%2C%20there%20is%20no%20need%20to%20restart%20any%20service.
upvoted 1 times
...
...
jegga
10 months, 3 weeks ago
E is the correct Answer
upvoted 1 times
...
felipemelom
1 year, 8 months ago
E is correct indeed: "Any changes in either files (/etc/hosts.allow and /etc/hosts.deny) will come to effect immediately without restarting the network services." source: https://ostechnix.com/restrict-access-linux-servers-using-tcp-wrappers/
upvoted 2 times
...
Akam
1 year, 10 months ago
It should be A
upvoted 1 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 ...