Rule version OL08-00-040070 · STIG v2 · 2026-08-24
Without identifying devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity.
Peripherals include, but are not limited to, such devices as flash drives, external storage, and printers.
Note: If the "autofs" service is not installed, this requirement is not applicable.
Verify OL 8 disables the ability to automount devices.
Determine if the automounter service is active with the following command:
$ systemctl is-enabled autofs masked
If the returned value is not "masked", "disabled", or "not-found", this is a finding.
Configure OL 8 to disable the ability to automount devices.
The "autofs" service can be disabled with the following command:
$ sudo systemctl mask --now autofs.service