SV-230502r1155393_rule
V-230502
SRG-OS-000114-GPOS-00059
RHEL-08-040070
CAT II
10
Configure RHEL 8 to disable the ability to automount devices.
Turn off the automount service with the following commands:
$ sudo systemctl stop autofs
$ sudo systemctl disable autofs
Verify RHEL 8 disables the ability to automount devices.
Check to see if automounter service is active with the following command:
Note: If the autofs service is not installed, this requirement is not applicable.
$ sudo systemctl status autofs
o autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
Active: inactive (dead)
If the "autofs" status is set to "active", this is a finding.
V-230502
False
RHEL-08-040070
Verify RHEL 8 disables the ability to automount devices.
Check to see if automounter service is active with the following command:
Note: If the autofs service is not installed, this requirement is not applicable.
$ sudo systemctl status autofs
o autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
Active: inactive (dead)
If the "autofs" status is set to "active", this is a finding.
M
2921