1.1.4 Ensure nosuid option set on /tmp partition

Information

The nosuid mount option specifies that the filesystem cannot contain setuid files.

Solution

Edit the /etc/fstab file and add nosuid to the fourth field (mounting options) for the /tmp partition. See the fstab(5) manual page for more information. Run the following command to remount /tmp: # mount -o remount,nosuid /tmp

See Also

https://workbench.cisecurity.org/files/1865

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(10)

Plugin: Unix

Control ID: b665afc622c176c42d21f76ed99dc504dfdede302856a791dbf1d4ff0db26fd9