BaselineWatch
Desk

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

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/log".

Control

Verify RHEL 10 uses a separate file system/partition for "/var/log" with the following command: $ mount | grep /var/log /dev/mapper/luks-c651f493-9fdc-4c6e-a711-0a4f03149661 on /var/log type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2) Note: Options displayed for mount may differ. If a separate entry for "/var/log" is not in use, this is a finding.

Discussion

Placing "/var/log" in its own partition enables better separation between log files and other files in "/var/".

Related controls

CCI-002385

Fix

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