UCF STIG Viewer Logo

The /etc/smb.conf file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22497 GEN006150 SV-37877r1_rule ECLP-1 Medium
Description
Excessive permissions could endanger the security of the Samba configuration file and, ultimately, the system and network.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-37098r1_chk )
Check the permissions of the Samba configuration file.
# ls -lL /etc/samba/smb.conf
If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.

Fix Text (F-32372r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all /etc/samba/smb.conf