UCF STIG Viewer Logo

Remote file systems must be mounted with the nodev option.


Finding ID Version Rule ID IA Controls Severity
V-218021 RHEL-06-000269 SV-218021r505923_rule Medium
Legitimate device files should only exist in the /dev directory. NFS mounts should not present device files to users.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03


Check Text ( C-19502r377078_chk )
To verify the "nodev" option is configured for all NFS mounts, run the following command:

$ mount | grep "nfs "

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