UCF STIG Viewer Logo

All Network File System (NFS) shared system files and system directories must be group-owned by root, bin, sys, or other.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22496 GEN005810 SV-35196r2_rule Medium
Description
Failure to give group-ownership of sensitive files or directories to root provides the members of the owning group with the potential to access sensitive information or change system configuration which could weaken the system's security posture.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-35041r3_chk )
List the shares.
# cat /etc/dfs/sharetab | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | cut -f 1,1 -d " "

Check the group ownership of each shared directory.
# ls -lLd

If the directory is not group-owned by root, bin, sys, or other, this is a finding.
Fix Text (F-30332r2_fix)
Change the group owner of the share directory.
# chgrp (root|bin|sys|other)