Check: RHEL-09-231020
RHEL 9 STIG:
RHEL-09-231020
(in versions v1 r3 through v1 r1)
Title
RHEL 9 must use a separate file system for /var. (Cat III impact)
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 Content
Verify that a separate file system/partition has been created for "/var" with the following command: $ mount | grep /var UUID=c274f65f-c5b5-4481-b007-bee96feb8b05 /var xfs noatime 1 2 If a separate entry for "/var" is not in use, this is a finding.
Fix Text
Migrate the "/var" path onto a separate file system.
Additional Identifiers
Rule ID: SV-257845r925522_rule
Vulnerability ID: V-257845
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |