UCF STIG Viewer Logo

The NFS export configuration file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-928 GEN005740 SV-35180r1_rule ECLP-1 Medium
Description
Failure to give ownership of the NFS export configuration file to root provides the designated owner and possible unauthorized users with the potential to 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-37986r2_chk )
Check the owner of the /etc/dfs/dfstab file.
# echo `ls -lL /etc/dfs/dfstab` | sed -e 's/^[ \t]*//' | tr '\011' ' ' | tr -s ' ' | cut -f 3,3 -d " "

If the /etc/dfs/dfstab configuration file is not owned by root or bin, this is a finding.
Fix Text (F-33229r3_fix)
Change the owner of the /etc/dfs/dfstab file to root.
# chown root /etc/dfs/dfstab