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