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

From SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Part of GEN006100

Associated with: CCI-000225

SV-46131r1_rule The /etc/smb.conf file must be owned by root.

Vulnerability discussion

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.

Check content

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

Change the ownership of the smb.conf file. Procedure: # chown root smb.conf

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer