GEN006140 - The /usr/lib/smb.conf file must have mode 0644 or less permissive.

Information

If the smb.conf file has excessive permissions, the file may be maliciously modified and the Samba configuration could be compromised.

Solution

Change the mode of the smb.conf file to 0644 or less permissive.
Procedure:
# chmod 0644 /usr/lib/smb.conf

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Rule-ID|SV-39229r1_rule, STIG-ID|GEN006140, Vuln-ID|V-1028

Plugin: Unix

Control ID: 2035877bdcc1905b9ae8b4dadf80cbdbd6e4cc502e1889a1700288a12ea502d5