RHEL-10-000570 RHEL 10 must use a separate file system for "/var/tmp".
All changes in this version
Maps to SC-5 via CCI-002385
Title
RHEL 10 must use a separate file system for "/var/tmp".
Control
Verify RHEL 10 uses a separate file system/partition for "/var/tmp" with the following command: $ mount | grep /var/tmp /dev/mapper/luks-c98555c8-0462-4b97-9afa-6db8c4bfee3b on /var/tmp type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2) Note: Options displayed for mount may differ. If a separate entry for "/var/tmp" is not in use, this is a finding.
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.
Related controls
CCI-002385
Fix
Configure RHEL 10 to use a separate file system for the "/var/tmp" path by migrating "/var/tmp" onto a separate file system.