6.2.3 Ensure all groups in /etc/passwd exist in /etc/group - GIDs referenced in the /etc/passwd file are defined in the /etc/group file.

Information

Over time, system administration errors and changes can lead to groups being defined in /etc/passwd but not in /etc/group .

Rationale:

Groups defined in the /etc/passwd file but not in the /etc/group file pose a threat to system security since group permissions are not properly managed.

Solution

Analyze the output of the Audit step above and perform the appropriate action to correct any discrepancies found.

See Also

https://workbench.cisecurity.org/files/3636

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2, CCI|CCI-000764, CSCv7|16, Rule-ID|SV-204461r603261_rule, STIG-ID|RHEL-07-020300

Plugin: Unix

Control ID: 2280b5d1c0768c46b99de316088a4a7f37e89a172c37cbe08a0f5d7030c2aef0