Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Resources
Documents
Publishers
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 20.04
Services
Samba(SMB) Microsoft Windows File Sharing Server
Samba(SMB) Microsoft Windows File Sharing Server
An XCCDF Group - A logical subset of the XCCDF Benchmark
Details
Profiles
Prose
Samba(SMB) Microsoft Windows File Sharing Server
1 Rule
When properly configured, the Samba service allows Linux systems to provide file and print sharing to Microsoft Windows systems. There are two software packages that provide Samba support. The first,
samba-client
, provides a series of command line tools that enable a client system to access Samba shares. The second, simply labeled
samba
, provides the Samba service. It is this second package that allows a Linux system to act as an Active Directory server, a domain controller, or as a domain member. Only the
samba-client
package is installed by default.
Disable Samba if Possible
1 Rule
Even after the Samba server package has been installed, it will remain disabled. Do not enable this service unless it is absolutely necessary to provide Microsoft Windows file and print sharing functionality.
Uninstall Samba Package
Unknown Severity
The
samba
package can be removed with the following command:
$ apt-get remove samba