BaselineWatch
Desk

RHEL-10-000550 RHEL 10 must use a separate file system for "/var".

DISA STIG library V1R3
All changes in this version
first version loaded CAT II

Maps to SC-5 via CCI-002385

Title

RHEL 10 must use a separate file system for "/var".

Control

Verify RHEL 10 uses a separate file system/partition for "/var" with the following command: $ mount | grep /var /dev/mapper/luks-51150299-f295-4145-b8f0-ebe9c6dfd5a0 on /var type xfs (rw,nodev,relatime,seclabel,attr2) Note: Options displayed for mount may differ. If a separate entry for "/var" is not in use, this is a finding.

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 that use it. It is not uncommon for the "/var" directory to contain world-writable directories installed by other software packages.

Related controls

CCI-002385

Fix

Configure RHEL 10 to use a separate file system for the "/var" directory by migrating the "/var" path onto a separate file system.