The smbpasswd file must be group-owned by root.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN006180

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-37880r1_rule The smbpasswd file must be group-owned by root.

Vulnerability discussion

If the smbpasswd file is not group-owned by root, it may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.

Check content

Check smbpasswd ownership: # ls -lL /var/opt/samba/private/smbpasswd If the smbpasswd file is not group-owned by root, this is a finding.

Fix text

Use the chgrp command to ensure that the group owner of the smbpasswd file is root. # chgrp root /smbpasswd

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