A separate RHEL 8 filesystem must be used for the /tmp directory.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-230295 | SRG-OS-000480-GPOS-00227 | RHEL-08-010543 | SV-230295r1017106_rule | 2026-02-05 | 2 |
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.
ℹ️ Check
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
Migrate the "/tmp" directory onto a separate file system/partition.