SV-204481r603261_rule
V-204481
SRG-OS-000480-GPOS-00227
RHEL-07-021010
CAT II
10
Configure the "/etc/fstab" to use the "nosuid" option on file systems that are associated with removable media.
Verify file systems that are used for removable media are mounted with the "nosuid" option.
Check the file systems that are mounted at boot time with the following command:
# more /etc/fstab
UUID=2bc871e4-e2a3-4f29-9ece-3be60c835222 /mnt/usbflash vfat noauto,owner,ro,nosuid 0 0
If a file system found in "/etc/fstab" refers to removable media and it does not have the "nosuid" option set, this is a finding.
V-204481
False
RHEL-07-021010
Verify file systems that are used for removable media are mounted with the "nosuid" option.
Check the file systems that are mounted at boot time with the following command:
# more /etc/fstab
UUID=2bc871e4-e2a3-4f29-9ece-3be60c835222 /mnt/usbflash vfat noauto,owner,ro,nosuid 0 0
If a file system found in "/etc/fstab" refers to removable media and it does not have the "nosuid" option set, this is a finding.
M
2899