UCF STIG Viewer Logo

The smbpasswd file must have mode 0600 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1059 GEN006200 SV-37883r1_rule ECLP-1 Medium
Description
If the smbpasswd file has a mode more permissive than 0600, it may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-37108r1_chk )
Check the mode of files maintained using smbpasswd.
# ls -lL /var/opt/samba/private/smbpasswd

If the smbpasswd file is more permissive than 0600, this is a finding.

Fix Text (F-32376r1_fix)
Change the mode of the smbpasswd file to 0600.
# chmod 0600 /smbpasswd