UCF STIG Viewer Logo

The /etc/smb.conf file must be group-owned by root, bin, sys, or system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1056 GEN006120 SV-35219r1_rule ECLP-1 Medium
Description
If the group-owner of the smb.conf file is not root or a system group, the file may be maliciously modified and the Samba configuration could be compromised.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-35063r1_chk )
Check the group ownership of the smb.conf file.
# find / -type f -name smb.conf | xargs -n1 ls -lL

If the smb.conf file is not group-owned by root, bin, sys or other, this is a finding.
Fix Text (F-30350r1_fix)
Change the group owner of the "smb.conf" file.
# chgrp root /etc/samba/smb.conf