NIS/NIS+/yp files must be owned by root, sys, or bin.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN001320

Associated with: CCI-000225

SV-64537r1_rule NIS/NIS+/yp files must be owned by root, sys, or bin.

Vulnerability discussion

NIS/NIS+/yp files are part of the system's identification and authentication processes and are critical to system security. Failure to give ownership of sensitive files or utilities to root or bin provides the designated owner and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.

Check content

Perform the following to check NIS file ownership: # ls -la /var/yp/*; If the file ownership is not root, sys, or bin, this is a finding.

Fix text

Change the ownership of NIS/NIS+/yp files to root, sys or bin. Procedure (example): # chown root

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