STIGUI
V-221757CAT III — Low severitySV-221757r991589_rule

The Oracle Linux operating system must use a separate file system for /tmp (or equivalent).

Rule version OL07-00-021340 · STIG v3 · 2025-05-08

Discussion

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 "/tmp".

Check that a file system/partition has been created for "/tmp" with the following command:

# systemctl is-enabled tmp.mount enabled

If the "tmp.mount" service is not enabled, check to see if "/tmp" is defined in the fstab with a device and mount point:

# grep -i /tmp /etc/fstab UUID=a411dc99-f2a1-4c87-9e05-184977be8539 /tmp ext4 rw,relatime,discard,data=ordered,nosuid,noexec, 0 0

If "tmp.mount" service is not enabled or the "/tmp" directory is not defined in the fstab with a device and mount point, this is a finding.

Fix

Start the "tmp.mount" service with the following command:

# systemctl enable tmp.mount

OR

Edit the "/etc/fstab" file and ensure the "/tmp" directory is defined in the fstab with a device and mount point.

Identifiers

Group ID
V-221757
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-221757r991589_rule
Check ID
C-36283r602443_chk
Fix ID
F-36247r602444_fix