2.25 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 it's contents available in system even if they lacked permissions to mount it
themselves.

Solution

Remove or comment out start lines in /etc/init/autofs.conf-#start on runlevel [2345]

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv6|9.1

Plugin: Unix

Control ID: 7c126a380c636a910aed6e7b4db0b9cc2b9fea82fa32263a250638b112d310f2