RHEL-10-000540 RHEL 10 must use a separate file system for "/tmp".
All changes in this version
Maps to SC-5 via CCI-002385
Title
RHEL 10 must use a separate file system for "/tmp".
Control
Verify RHEL 10 uses a separate file system/partition for "/tmp" with the following command: $ mount | grep /tmp /dev/mapper/luks-2d7e1b45-73c4-4282-8838-15a897e0d04e on /tmp type xfs(rw,nodev,nosuid,noexec,seclabel) Note: Options displayed for mount may differ. If a separate entry for "/tmp" is not in use, this is a finding.
Discussion
The "/tmp" partition is used as temporary storage by many programs. Placing "/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 temporary storage directories by migrating the "/tmp" path onto a separate file system.