UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-790 GEN001340 SV-41577r2_rule Medium
Description
NIS/NIS+/yp files are part of the system's identification and authentication processes and are, therefore, 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.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-40079r2_chk )
Perform the following to check NIS file group ownership:

# ls -la /var/yp/*

If the file group ownership is not root, sys, or bin, this is a finding.
Fix Text (F-35235r4_fix)
Perform the following to change NIS file ownership.

# chgrp root /var/yp/*