DISA STIGS Viewer

OL 9 must use a separate file system for /var/tmp.

Overview

Finding ID Version Rule ID IA Controls Severity
V-271437 OL09-00-000007 SV-271437r1091023_rule   Medium
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.
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75487r1091021_chk)
Verify that OL 9 uses a separate file system/partition for "/var/tmp" with the following command:

$ mount | grep /var/tmp
UUID=c274f65f-c5b5-4379-b017-bee96feb7a34 /var/log xfs noatime 1 2

If a separate entry for "/var/tmp" is not in use, this is a finding.
Fix Text (F-75394r1091022_fix)
Migrate the "/var/tmp" path onto a separate file system.