11.6 Samba: Set Secure smb.conf File Options - permissions

Information

The smb.conf file is the configuration file for the Samba suite and contains runtime configuration information for Samba.

Solution

Perform the following to implement the recommended state:
# chmod 644 /etc/samba/smb.conf
# chown root /etc/samba/smb.conf
# chgrp root /etc/samba/smb.conf

See Also

https://workbench.cisecurity.org/files/614