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

See Also

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

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-6b., CAT|II, CCI|CCI-000225, CCI|CCI-000366, Rule-ID|SV-218641r603259_rule, STIG-ID|GEN006140, STIG-Legacy|SV-64087, STIG-Legacy|V-1028, Vuln-ID|V-218641

Plugin: Unix

Control ID: 1cdd6870ad44df44f6647467c2f4c70b30ffea17b0d7d2e6105c1387e4d4c633