Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 20.04
System Settings
File Permissions and Masks
Restrict Partition Mount Options
Add noexec Option to /dev/shm
Add noexec Option to /dev/shm
An XCCDF Rule
Details
Profiles
Prose
Add noexec Option to /dev/shm
Medium Severity
The
noexec
mount option can be used to prevent binaries from being executed out of
/dev/shm
. It can be dangerous to allow the execution of binaries from world-writable temporary storage directories such as
/dev/shm
. Add the
noexec
option to the fourth column of
/etc/fstab
for the line which controls mounting of
/dev/shm
.