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_x86_V2R4_STIG.zip

Item Details

Category: ACCESS CONTROL

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

Plugin: Unix

Control ID: 6f35799d57f529b1be352fa69dab36fb4ec8a28aeadb2eaa5b58b80bc1fd16d5