The /etc/smbpasswd file must not have an extended ACL.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN006210

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-35105r1_rule The /etc/smbpasswd file must not have an extended ACL.

Vulnerability discussion

If the permissions of the smbpasswd file are too permissive, the smbpasswd file may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.

Check content

Check the group ownership of the Samba configuration file. # find / -name smbpasswd | xargs -n1 ls -lL If the permissions include a + the file has an extended ACL, this is a finding.

Fix text

Remove the optional ACL from the file. # chacl -z /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