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

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN001379

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-38336r1_rule The /etc/passwd file must be group-owned by root, bin, sys, or system.

Vulnerability discussion

The /etc/passwd file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification.

Check content

Check the group ownership of the passwd file. Procedure: # ls -lL /etc/passwd If the file is not group-owned by root, bin, sys, or other, this is a finding.

Fix text

Change the group owner of the /etc/passwd file to root, bin, sys, or other. Procedure: # chgrp root /etc/passwd

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