A separate RHEL 8 filesystem must be used for the /tmp directory.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-230295 | RHEL-08-010543 | SV-230295r1017106_rule | Medium |
Description |
The use of separate file systems for different paths can protect the system from failures resulting from a file system becoming full or failing. |
STIG | Date |
Red Hat Enterprise Linux 8 Security Technical Implementation Guide | 2025-03-26 |
Details
Check Text (C-32964r567631_chk) |
Verify that a separate file system/partition has been created for non-privileged local interactive user home directories. $ sudo grep /tmp /etc/fstab /dev/mapper/rhel-tmp /tmp xfs defaults,nodev,nosuid,noexec 0 0 If a separate entry for the file system/partition "/tmp" does not exist, this is a finding. |
Fix Text (F-32939r567632_fix) |
Migrate the "/tmp" directory onto a separate file system/partition. |