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-41574r1_rule ECLP-1 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
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-40075r1_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-35231r1_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