SV-261286r1155779_rule
V-261286
SRG-OS-000114-GPOS-00059
SLEM-05-231050
CAT II
10
Configure SLEM 5 to disable the ability to automount devices.
Turn off the automount service with the following command:
> sudo systemctl stop autofs
> sudo systemctl disable autofs
Verify SLEM 5 disables the ability to automount devices.
Verify the automounter service is installed with the following command:
> sudo zypper se autofs
If it is installed, verify the automounter service is active with the following command:
> systemctl status autofs
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-261286
False
SLEM-05-231050
Verify SLEM 5 disables the ability to automount devices.
Verify the automounter service is installed with the following command:
> sudo zypper se autofs
If it is installed, verify the automounter service is active with the following command:
> systemctl status autofs
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
5596