The RHEL 8 file system automounter must be disabled.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-230502RHEL-08-040070SV-230502r1155393_ruleCCI-000778medium
Description
Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity.
STIGDate
Red Hat Enterprise Linux 8 Security Technical Implementation Guide2026-02-05

Details

Check Text (C-230502r1155393_chk)

Verify RHEL 8 disables the ability to automount devices. Check to see if automounter service is active with the following command: Note: If the autofs service is not installed, this requirement is not applicable. $ sudo systemctl status autofs o autofs.service - Automounts filesystems on demand Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled) Active: inactive (dead) If the "autofs" status is set to "active", this is a finding.

Fix Text (F-33146r1155392_fix)

Configure RHEL 8 to disable the ability to automount devices. Turn off the automount service with the following commands: $ sudo systemctl stop autofs $ sudo systemctl disable autofs