1.392 RHEL-10-701210

Information

RHEL 10 must disable file system automount function unless required.

GROUP ID: V-281323RULE ID: SV-281323r1167119

An authentication process resists replay attacks if it is impractical to achieve a successful authentication by recording and replaying a previous authentication message.

Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/26403