UCF STIG Viewer Logo

The /etc/smbpasswd file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1029 GEN006160 SV-46135r1_rule Medium
Description
If the "smbpasswd" file is not owned by root, it may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-43394r1_chk )
Check the ownership of the "smbpasswd" file.

# ls -l /etc/samba/passdb.tdb /etc/samba/secrets.tdb

If the "smbpasswd" file is not owned by root, this is a finding.
Fix Text (F-39477r1_fix)
Use the chown command to configure the files maintained by smbpasswd.
For instance:
# chown root /etc/samba/passdb.tdb /etc/samba/secrets.tdb