← Rules Catalog
mediumfilesystemverified

Ensure /tmp is on a separate filesystem

separate-filesystem-tmp · RHEL ≥ 9 · 1 impl

Description

The /tmp directory must be on a separate filesystem or logical volume to prevent temporary files from filling the root filesystem.

Rationale

A separate filesystem for /tmp prevents temporary files from consuming all available disk space on the root filesystem, which could cause system instability.

Check → Remediate

Checkcommand
findmnt --noheadings /tmp
expected_exit:
0
Remediatemanual

Framework references

STIG

V-257844

NIST 800-53

CM-6

Live verification

rhel9:check
#filesystem#partitioning#storage