Rule ID
SV-46133r1_rule
Version
V1R12
CCIs
If the "smb.conf" file has excessive permissions, the file may be maliciously modified and the Samba configuration could be compromised.
Check the mode of the smb.conf file. Procedure: # ls -lL /etc/samba/smb.conf If the "smb.conf" has a mode more permissive than 0644, this is a finding.
Change the mode of the smb.conf file to 0644 or less permissive.