Last active
January 22, 2022 20:24
-
-
Save AfroThundr3007730/cd9236c0dd88d743adb3d017f1d36237 to your computer and use it in GitHub Desktop.
Remounts /dev/shm with noexec to satisfy STIG requirements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/systemd/system/dev-shm-noexec.service | |
[Unit] | |
Description=Remounts /dev/shm with noexec to satisfy STIG requirements | |
DefaultDependencies=false | |
[Service] | |
ExecStart=/bin/mount -o remount,nosuid /dev/shm | |
Type=oneshot | |
[Install] | |
WantedBy=local-fs.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per this message on the Fedora mailing lists.