1.1.19 Disable Automounting

Information

autofs allows automatic mounting of devices, typically including CD/DVDs and USB drives.

Rationale:

With automounting enabled anyone with physical access could attach a USB drive or disc and have its contents available in system even if they lacked permissions to mount it themselves.

Solution

Run the following command to disable autofs :

# systemctl disable autofs
# systemctl stop autofs

Impact:

The use portable hard drives is very common for workstation users. If your organization allows the use of portable storage or media on workstations and physical access controls to workstations is considered adequate there is little value add in turning off automounting.

See Also

https://workbench.cisecurity.org/files/2449

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(4), CSCv6|9.1, CSCv7|8.5

Plugin: Unix

Control ID: c039142a828ea66604f262149c23847596c7b8f9beb3402d594c5e2eb06ea66a