The /etc/passwd file must be owned by root.

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

Part of GEN001378

Associated with: CCI-000225

SV-44990r1_rule The /etc/passwd file must be owned by root.

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

Verify the /etc/passwd file is owned by root. # ls -l /etc/passwd If the file is not owned by root, this is a finding.

Fix text

Change the owner of the /etc/passwd file to root. # chown 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