UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/smbpasswd file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1029 GEN006160 SV-1029r2_rule ECLP-1 Medium
Description
If the smbpasswd file is not owned by root, the smbpasswd file may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-28774r1_chk )
Check the ownership of the smbpasswd file.

# find / -name smbpasswd
# ls -l

If an smbpasswd file is not owned by root, this is a finding.
Fix Text (F-1183r2_fix)
Use the chown command to configure the smbpasswd file.
# chown root /etc/smbpasswd