UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-789 GEN001320 SV-27166r1_rule ECLP-1 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 9 X86 SECURITY TECHNICAL IMPLEMENTATION GUIDE 2015-03-25

Details

Check Text ( C-28120r1_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-34044r1_fix)
Change the ownership of NIS/NIS+/yp files to root, bin, or sys.

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