GEN006140 - The 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 /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_SPARC_V2R4_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), CAT|II, CCI|CCI-002165, Rule-ID|SV-227020r854446_rule, STIG-ID|GEN006140, STIG-Legacy|SV-40294, STIG-Legacy|V-1028, Vuln-ID|V-227020

Plugin: Unix

Control ID: c8429b8739b286004f3317f6870ebc09d5b03f9112bdfa11d9f2958b47b16067