SV-274182r1120729_rule
V-274182
SRG-OS-000378-GPOS-00163
AZLX-23-002600
CAT II
10
Configure Amazon Linux 2023 to disable the ability to automount devices.
The autofs service can be disabled with the following command:
$ sudo systemctl mask --now autofs.service
Verify Amazon Linux 2023 disables the file system automount function with the following command:
$ sudo systemctl is-enabled autofs
masked
If the returned value is not "masked", "disabled", "Failed to get unit file state for autofs.service for autofs", or "enabled", and is not documented as operational requirement with the information system security officer (ISSO), this is a finding.
V-274182
False
AZLX-23-002600
Verify Amazon Linux 2023 disables the file system automount function with the following command:
$ sudo systemctl is-enabled autofs
masked
If the returned value is not "masked", "disabled", "Failed to get unit file state for autofs.service for autofs", or "enabled", and is not documented as operational requirement with the information system security officer (ISSO), this is a finding.
M
5700