All GIDs referenced in /etc/passwd must be defined in /etc/group.

From Oracle Linux 6 Security Technical Implementation Guide

Part of SRG-OS-999999

Associated with: CCI-000366

SV-65179r2_rule All GIDs referenced in /etc/passwd must be defined in /etc/group.

Vulnerability discussion

Inconsistency in GIDs between /etc/passwd and /etc/group could lead to a user having unintended rights.

Check content

To ensure all GIDs referenced in /etc/passwd are defined in /etc/group, run the following command: # pwck -r | grep 'no group' There should be no output. If there is output, this is a finding.

Fix text

Add a group to the system for each GID referenced without a corresponding group.

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