OL08-00-040070 - The OL 8 file system automounter must be disabled unless required.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Verify the operating system disables the ability to automount devices.

Determine if automounter service is active with the following command:

$ sudo 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' and is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Solution

Configure OL 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

If 'autofs' is required for Network File System (NFS), it must be documented with the ISSO.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_8_V1R2_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000778, Rule-ID|SV-248836r780074_rule, STIG-ID|OL08-00-040070, Vuln-ID|V-248836

Plugin: Unix

Control ID: 1b49f6269adfe1fbd02ff818fd7364528c155f863b6f9b70ac6d6fe7623a23ed