OL 9 must use a separate file system for /tmp.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-271434 | SRG-OS-000480-GPOS-00227 | OL09-00-000004 | SV-271434r1091014_rule | 2026-02-17 | 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 that OL 9 uses a separate file system/partition for "/tmp" with the following command:
$ mount | grep /tmp
tmpfs /tmp tmpfs noatime,mode=1777 0 0
If a separate entry for "/tmp" is not in use, this is a finding.
✔️ Fix
Migrate the "/tmp" path onto a separate file system.