SV-281228r1166636_rule
V-281228
SRG-OS-000080-GPOS-00048
RHEL-10-700100
CAT II
10
Configure RHEL 10 to prevent special devices on file systems that are imported via NFS.
Update each NFS mounted file system to use the "nodev" option on file systems that are being imported via NFS.
Note: If no NFS mounts are configured, this requirement is not applicable.
Verify RHEL 10 has the "nodev" option configured for all NFS mounts with the following command:
$ sudo grep nfs /etc/fstab
192.168.22.2:/mnt/export /data nfs4 rw,nosuid,nodev,noexec,sync,soft,sec=krb5:krb5i:krb5p
If the system is mounting file systems via NFS and the "nodev" option is missing, this is a finding.
V-281228
False
RHEL-10-700100
Note: If no NFS mounts are configured, this requirement is not applicable.
Verify RHEL 10 has the "nodev" option configured for all NFS mounts with the following command:
$ sudo grep nfs /etc/fstab
192.168.22.2:/mnt/export /data nfs4 rw,nosuid,nodev,noexec,sync,soft,sec=krb5:krb5i:krb5p
If the system is mounting file systems via NFS and the "nodev" option is missing, this is a finding.
M
5733