RHEL 10 must use a separate file system for "/tmp".
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-280938 | SRG-OS-000420-GPOS-00186 | RHEL-10-000540 | SV-280938r1184728_rule | 2026-03-11 | 1 |
Description
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.
ℹ️ Check
Verify RHEL 10 uses a separate file system/partition for "/tmp" with the following command:
$ mount | grep /tmp
/dev/mapper/luks-2d7e1b45-73c4-4282-8838-15a897e0d04e on /tmp type xfs(rw,nodev,nosuid,noexec,seclabel)
Note: Options displayed for mount may differ.
If a separate entry for "/tmp" is not in use, this is a finding.
✔️ Fix
Configure RHEL 10 to use a separate file system for temporary storage directories by migrating the "/tmp" path onto a separate file system.