DISA STIGS Viewer

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

Overview

Finding ID Version Rule ID IA Controls Severity
V-269305 ALMA-09-025540 SV-269305r1050187_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
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide 2025-05-22

Details

Check Text (C-73336r1048291_chk)
Verify that a separate file system/partition has been created for "/var/tmp" with the following command:

$ mount | grep /var/tmp

/dev/mapper/luks-0e7206e7-bfb1-4a23-ae14-b9cea7cf76d5 on /var/tmp type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)

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