GEN006180 - The smbpasswd file must be group-owned by root - '/etc/samba/passdb.tdb'

Information

If the smbpasswd file is not group-owned by root, the smbpasswd file may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.

Solution

Use the chgrp command to ensure that the group owner of the smbpasswd file is root.

For instance:
# chgrp root /etc/samba/passdb.tdb /etc/samba/secrets.tdb

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-218644r603259_rule, STIG-ID|GEN006180, STIG-Legacy|SV-64069, STIG-Legacy|V-1058, Vuln-ID|V-218644

Plugin: Unix

Control ID: 1c7f00f987768bed9af4ac7728c0785d046dc11fa444147b9e073b850bf57212