BaselineWatch
Desk

RHEL-09-231015 RHEL 9 must use a separate file system for /tmp.

DISA STIG library V2R10
All changes in this version
first version loaded CAT II

Maps to CM-6 via CCI-000366

Title

RHEL 9 must use a separate file system for /tmp.

Control

Verify that a separate file system/partition has been created for "/tmp" with the following command: $ mount | grep /tmp /dev/mapper/rhel-tmp on /tmp type xfs (rw,nodev,nosuid,noexec,seclabel) If a separate entry for "/tmp" is not in use, this is a finding.

Discussion

The "/tmp" partition is used as temporary storage by many programs. Placing "/tmp" in its own partition enables the setting of more restrictive mount options, which can help protect programs that use it.

Related controls

CCI-000366

Fix

Migrate the "/tmp" path onto a separate file system.