READ Free Dumps For RedHat- RH302
Question ID 17484 | Deny the ALL services to the member of cracker.org but allow to trusted.cracker.org. |
Option A | Answer : 1.vi /etc/hosts.deny .cracker.org EXCEPT trusted.cracker.org We can secure the services using tcp_wrappers. There are main two files, /etc/hosts.allow and /etc/hosts.deny. There will be three stage access checking -Is access explicitly permitted? Means permitted from /etc/hosts.allow? - Otherwise, Is access explicitly denied? Means denied from /etc/hosts.deny? - Otherwise, by default permit access if neither condition matched. To deny the services we can configure /etc/hosts.deny file using ALL and EXCEPT options In Client list can be either domain name or IP address. |
Correct Answer | A |
Question ID 17485 | Share the /data directory only to example.com members. These hosts should get |
Option A | Answer : 1.vi /etc/exports /data*.example.com(rw,sync) 2.service nfs start 3.service portmap restart 4.chkconfig nfs on 5.chkconfig portmap on Pathclient(permission) Shared Directory Path, Client can be single host or domain name or ip address. Permission should specify without space with client lists in parentheses. |
Correct Answer | A |