The RHEL 8 file system automounter must be disabled unless required.
An XCCDF Rule
Description
Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity.
- ID
- SV-230502r1017284_rule
- Version
- RHEL-08-040070
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the operating system to disable the ability to automount devices.
Turn off the automount service with the following commands:
$ sudo systemctl stop autofs
$ sudo systemctl disable autofs