GEN001362 M6 - The /etc/hosts file must be owned by root

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The resolv.conf (or equivalent) file configures the system's DNS resolver. DNS is used to resolve host names to IP addresses. If DNS configuration is modified maliciously, host name resolution may fail or return incorrect information. DNS may be used by a variety of system security functions, such as time synchronization, centralized authentication, and remote system logging.

Solution

Open a terminal session and enter the following command to set the owner of the resolv.conf file.

chown root /etc/resolv.conf

See Also

http://iase.disa.mil/stigs/os/mac/u_mac_osx_10.6_v1r3_stig_20130426.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CAT|II, CCI|CCI-000225, CSCv6|3.1, Rule-ID|SV-38077r1_rule, STIG-ID|GEN001362-M6, Vuln-ID|V-22319

Plugin: Unix

Control ID: d9ce575d51aa671c5292ca180bcfe05b5053205928067abed4e29fb713c506c0