2.2.12 Ensure Samba is not enabled

Information

The Samba daemon allows system administrators to configure their Linux systems to share file systems and directories with Windows desktops. Samba will advertise the file systems and directories via the Small Message Block (SMB) protocol. Windows desktop users will be able to mount these directories and file systems as letter drives on their systems. If there is no need to mount directories and file systems to Windows systems, then this service can be deleted to reduce the potential attack surface.

Solution

Run the following command to disable smbd: # systemctl disable smbd

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 0ee248e6615dd326b8946b5f282eea3756d304f6a0dd22097f85f1d02e839840