SV-209073r603263_rule
V-209073
SRG-OS-000368
OL6-00-000530
CAT III
10
Configure the "/etc/fstab" to use the "nodev" option for all lines containing "/dev/shm".
Verify that the "nodev" option is configured for /dev/shm.
Check that the operating system is configured to use the "nodev" option for /dev/shm with the following command:
# cat /etc/fstab | grep /dev/shm | grep nodev
tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0
If the "nodev" option is not present on the line for "/dev/shm", this is a finding.
Verify "/dev/shm" is mounted with the "nodev" option:
# mount | grep "/dev/shm" | grep nodev
If no results are returned, this is a finding.
V-209073
False
OL6-00-000530
Verify that the "nodev" option is configured for /dev/shm.
Check that the operating system is configured to use the "nodev" option for /dev/shm with the following command:
# cat /etc/fstab | grep /dev/shm | grep nodev
tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0
If the "nodev" option is not present on the line for "/dev/shm", this is a finding.
Verify "/dev/shm" is mounted with the "nodev" option:
# mount | grep "/dev/shm" | grep nodev
If no results are returned, this is a finding.
M
2928