2.1.14 Ensure samba file server services are not in use
Audit#
Run the following command to verify samba is not installed:
Nothing should be returned.- OR - - IF - the package is required for dependencies: Run the following command to verify smbd.service is not enabled:
Nothing should be returned.Run the following command to verify the smbd.service is not active:
Nothing should be returned.Remediation#
Run the following commands to stop smbd.service and remove samba package:
- OR - - IF - the samba package is required as a dependency: Run the following commands to stop and mask smbd.service: