UCF STIG Viewer Logo

The smbpasswd file must be group-owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1058 GEN006180 SV-46136r1_rule Medium
Description
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.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-43395r1_chk )
Check "smbpasswd" ownership:

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

If the "smbpasswd" file is not group-owned by root, this is a finding.
Fix Text (F-39478r1_fix)
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