SV-230308r627750_rule
V-230308
SRG-OS-000480-GPOS-00227
RHEL-08-010650
CAT II
10
Configure the "/etc/fstab" to use the "nosuid" option on file systems that are being imported via NFS.
Verify that file systems being imported via NFS are mounted with the "nosuid" option with the following command:
$ sudo grep nfs /etc/fstab | grep nosuid
UUID=e06097bb-cfcd-437b-9e4d-a691f5662a7d /store nfs rw,nosuid,nodev,noexec 0 0
If a file system found in "/etc/fstab" refers to NFS and it does not have the "nosuid" option set, this is a finding.
V-230308
False
RHEL-08-010650
Verify that file systems being imported via NFS are mounted with the "nosuid" option with the following command:
$ sudo grep nfs /etc/fstab | grep nosuid
UUID=e06097bb-cfcd-437b-9e4d-a691f5662a7d /store nfs rw,nosuid,nodev,noexec 0 0
If a file system found in "/etc/fstab" refers to NFS and it does not have the "nosuid" option set, this is a finding.
M
2921