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-37880r1_rule ECLP-1 Medium
Description
If the smbpasswd file is not group-owned by root, it may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-37107r1_chk )
Check smbpasswd ownership:
# ls -lL /var/opt/samba/private/smbpasswd

If the smbpasswd file is not group-owned by root, this is a finding.

Fix Text (F-32374r1_fix)
Use the chgrp command to ensure that the group owner of the smbpasswd file is root.
# chgrp root /smbpasswd