SV-271651r1091665_rule
V-271651
SRG-OS-000368-GPOS-00154
OL09-00-002041
CAT II
10
Configure OL 9 to mount /dev/shm with the noexec option.
Modify "/etc/fstab" to use the "noexec" option on the "/dev/shm" file system.
Verify that OL 9 is configured to mount /dev/shm with the noexec option.
Verify "/dev/shm" is mounted with the "noexec" option with the following command:
$ mount | grep /dev/shm
tmpfs on /dev/shm type tmpfs (rw,nodev,nosuid,noexec,seclabel)
If the /dev/shm file system is mounted without the "noexec" option, this is a finding.
V-271651
False
OL09-00-002041
Verify that OL 9 is configured to mount /dev/shm with the noexec option.
Verify "/dev/shm" is mounted with the "noexec" option with the following command:
$ mount | grep /dev/shm
tmpfs on /dev/shm type tmpfs (rw,nodev,nosuid,noexec,seclabel)
If the /dev/shm file system is mounted without the "noexec" option, this is a finding.
M
5680