RHEL 10 must use a separate file system for "/var/tmp".
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-280941 | SRG-OS-000420-GPOS-00186 | RHEL-10-000570 | SV-280941r1184731_rule | 2026-03-11 | 1 |
Description
The "/var/tmp" partition is used as temporary storage by many programs. Placing "/var/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 "/var/tmp" with the following command:
$ mount | grep /var/tmp
/dev/mapper/luks-c98555c8-0462-4b97-9afa-6db8c4bfee3b on /var/tmp type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2)
Note: Options displayed for mount may differ.
If a separate entry for "/var/tmp" is not in use, this is a finding.
✔️ Fix
Configure RHEL 10 to use a separate file system for the "/var/tmp" path by migrating "/var/tmp" onto a separate file system.