UCF STIG Viewer Logo

The /etc/smb.conf file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1027 GEN006100 SV-1027r2_rule ECLP-1 Medium
Description
The /etc/smb.conf file allows access to other machines on the network and grants permissions to certain users. If it is owned by another user, the file may be maliciously modified and the Samba configuration could be compromised.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-28771r2_chk )
Check the ownership of the smb.conf file.

Procedure:
# ls -lL /etc/opt/samba/smb.conf
# ls -l

If an smb.conf file is not owned by root, this is a finding.
Fix Text (F-1181r2_fix)
Change the ownership of the smb.conf file.

Procedure:
# chown root smb.conf