SV-274180r1198347_rule
V-274180
SRG-OS-000368-GPOS-00154
AZLX-23-002590
CAT II
10
Configure Amazon Linux 2023 so that "/dev/shm" is mounted with the "nosuid" option.
Modify "/etc/fstab" to use the "nosuid" option on the "/dev/shm" file system.
Verify "/dev/shm" is mounted with the "nosuid" 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 not mounted with the "nosuid" option, this is a finding.
V-274180
False
AZLX-23-002590
Verify "/dev/shm" is mounted with the "nosuid" 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 not mounted with the "nosuid" option, this is a finding.
M
5700