Rule ID
SV-281323r1273607_rule
Version
V1R3
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. Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163
Note: If the "autofs" service is not installed, this requirement is not applicable. Verify RHEL 10 is configured so that the file system automount function has been disabled with the following command: $ systemctl is-enabled autofs not-found If the returned value is not "masked", "disabled", or "not-found", this is a finding.
Configure RHEL 10 to disable the ability to automount devices. The "autofs" service can be disabled with the following command: $ sudo systemctl mask --now autofs.service