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-46131r1_rule 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
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-43390r1_chk )
Check the ownership of the /etc/samba/smb.conf file.

Procedure:
# ls -l /etc/samba/smb.conf
If an smb.conf file is not owned by root, this is a finding.
Fix Text (F-39473r1_fix)
Change the ownership of the smb.conf file.

Procedure:
# chown root smb.conf