2.1.12 Ensure Samba is not enabled - status

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.

Rationale:

If there is no need to mount directories and file systems to Windows systems, then this service can be disabled to reduce the potential attack surface.

Solution

Run the following command to disable smb :

# systemctl disable smb
# systemctl stop smb

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-4, CSCv7|9.2

Plugin: Unix

Control ID: fa7a100d57dbfcb1dec5fab7789c39b8e4eeaf9102c881890991c94f76e1ec88