The /etc/nsswitch.conf file must be owned by root.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN001371

Associated with: CCI-000225

SV-64535r1_rule The /etc/nsswitch.conf file must be owned by root.

Vulnerability discussion

The nsswitch.conf file (or equivalent) configures the source of a variety of system security information including account, group, and host lookups. Malicious changes could prevent the system from functioning or compromise system security.

Check content

Verify the /etc/nsswitch.conf file is owned by root. # ls -l /etc/nsswitch.conf If the file is not owned by root, this is a finding.

Fix text

Change the owner of the /etc/nsswitch.conf file to root. # chown root /etc/nsswitch.conf

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer