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-38998r1_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.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-35023r1_chk )
# echo `ls -lL /etc/exports` | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | cut -f 3,3 -d " "

If the export configuration file is not owned by root, this is a finding.
Fix Text (F-30316r1_fix)
Change the owner of the exports file to root.

Example:
# chown root /etc/exports