Major Hayden 31d0e5d86d V-38681: GID's in /etc/passwd & /etc/group
Implements: blueprint security-hardening

Change-Id: I4fb3cf7d6ef2f09b3eee8601263474f749209551
2015-10-15 16:18:47 -05:00

430 B

The Ansible tasks will run pwck to find any groups that are defined in /etc/passwd but not in /etc/group. This could be a sign of an accidental misconfiguration or a more serious security problem. If the command returns output about missing groups, the playbook will fail.

To see the exact problems on the system when the playbook fails, run this command as root:

pwck -r | grep 'no group'