SV-257849r1044928_rule
V-257849
SRG-OS-000114-GPOS-00059
RHEL-09-231040
CAT II
10
Configure RHEL 9 to disable the ability to automount devices.
The autofs service can be disabled with the following command:
$ sudo systemctl mask --now autofs.service
Note: If the autofs service is not installed, this requirement is Not Applicable.
Verify that the RHEL 9 file system automount function has been disabled with the following command:
$ systemctl is-enabled autofs
masked
If the returned value is not "masked", "disabled", or "Failed to get unit file state for autofs.service for autofs" and is not documented as an operational requirement with the information system security officer (ISSO), this is a finding.
V-257849
False
RHEL-09-231040
Note: If the autofs service is not installed, this requirement is Not Applicable.
Verify that the RHEL 9 file system automount function has been disabled with the following command:
$ systemctl is-enabled autofs
masked
If the returned value is not "masked", "disabled", or "Failed to get unit file state for autofs.service for autofs" and is not documented as an operational requirement with the information system security officer (ISSO), this is a finding.
M
5551