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

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN006120

Associated with IA controls: ECLP-1

Associated with: CCI-000225

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

Vulnerability discussion

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.

Check content

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

Change the group owner of the "smb.conf" file. # chgrp root /etc/samba/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