STIGUI
V-269304CAT II — Medium severitySV-269304r1050186_rule

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

Rule version ALMA-09-025430 · STIG v1 · 2026-08-25

Discussion

Ensuring that "/var" is mounted on its own partition enables the setting of more restrictive mount options. This helps protect system services such as daemons or other programs which use it. It is not uncommon for the "/var" directory to contain world-writable directories installed by other software packages.

Check

Verify that a separate file system/partition has been created for "/var" with the following command:

$ mount | grep ' /var '

/dev/mapper/luks-b23d8276-7844-4e79-8a58-505150b6eb42 on /var type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)

If a separate entry for "/var" is not in use, this is a finding.

Fix

Migrate the "/var" path onto a separate file system.

Identifiers

Group ID
V-269304
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-269304r1050186_rule
Check ID
C-73335r1048288_chk
Fix ID
F-73236r1048289_fix