GEN006160 - The /etc/smbpasswd file must be owned by root - '/etc/samba.secrets.tdb'

Information

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

Solution

Use the chown command to configure the files maintained by smbpasswd.
For instance:
# chown 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-218643r603259_rule, STIG-ID|GEN006160, STIG-Legacy|SV-64077, STIG-Legacy|V-1029, Vuln-ID|V-218643

Plugin: Unix

Control ID: 32f570e50bf854233c3ba423f28d26aaf9dbefd8d6e01d83a8664ce449754dea