STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Red Hat Enterprise Linux 9 Security Technical Implementation Guide

V-257849

CAT II (Medium)

The RHEL 9 file system automounter must be disabled.

Rule ID

SV-257849r1262109_rule

STIG

Red Hat Enterprise Linux 9 Security Technical Implementation Guide

Version

V2R10

CCIs

CCI-000778CCI-001958

Discussion

Without identifying devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity. Peripherals include, but are not limited to, devices such as flash drives, external storage, and printers. Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163

Check Content

Verify that RHEL 9 file system automount function has been disabled and masked with the following command:

$ $ systemctl is-enabled  autofs
masked

If the returned value is not "masked", "disabled", or "not-found", this is a finding.

Fix Text

Configure RHEL 9 to disable and mask the ability to automount devices.

The "autofs" service can be disabled with the following command:

$ sudo systemctl mask --now autofs.service