Check: RHEL-09-231035
RHEL 9 STIG:
RHEL-09-231035
(in version v2 r3)
Title
RHEL 9 must use a separate file system for /var/tmp. (Cat II impact)
Discussion
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.
Check Content
Verify that a separate file system/partition has been created for "/var/tmp" with the following command: $ mount | grep /var/tmp /dev/mapper/rhel-tmp on /var/tmp type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k) Note: Options displayed for mount may differ. If a separate entry for "/var/tmp" is not in use, this is a finding.
Fix Text
Migrate the "/var/tmp" path onto a separate file system.
Additional Identifiers
Rule ID: SV-257848r1044926_rule
Vulnerability ID: V-257848
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |