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-46137r1_rule Medium
Description
If the smbpasswd file has a mode more permissive than 0600, 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-43396r1_chk )
Check the mode of files maintained using "smbpasswd".

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

If a "smbpasswd" maintained file has a mode more permissive than 0600, this is a finding.
Fix Text (F-39479r1_fix)
Change the mode of the files maintained through smbpasswd to 0600.

Procedure:
# chmod 0600 /etc/samba/passdb.tdb /etc/samba/secrets.tdb