UCF STIG Viewer Logo

Remote file systems must be mounted with the nosuid option.


Finding ID Version Rule ID IA Controls Severity
V-218022 RHEL-06-000270 SV-218022r505923_rule Medium
NFS mounts should not present suid binaries to users. Only vendor-supplied suid executables should be installed to their default location on the local filesystem.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03


Check Text ( C-19503r377081_chk )
To verify the "nosuid" option is configured for all NFS mounts, run the following command:

$ mount | grep nfs

All NFS mounts should show the "nosuid" setting in parentheses, along with other mount options.
If the setting does not show, this is a finding.
Fix Text (F-19501r377082_fix)
Add the "nosuid" option to the fourth column of "/etc/fstab" for the line which controls mounting of any NFS mounts.