UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-226498 GEN001320 SV-226498r854409_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
Solaris 10 SPARC Security Technical Implementation Guide 2022-09-07

Details

Check Text ( C-28659r482882_chk )
Perform the following to check NIS file ownership.
# ls -lRa /usr/lib/netsvc/yp /var/yp
If the file ownership is not root, sys, or bin, this is a finding.
Fix Text (F-28647r482883_fix)
Change the ownership of NIS/NIS+/yp files to root, bin, or sys.

Procedure:
# chown -R root /usr/lib/netsvc/yp /var/yp