Major Hayden 711537051b V-38683: Check for non-unique usernames
Implements: blueprint security-hardening

Change-Id: I6f76bbcf44c8d464ea814572eef6c1608372ff89
2015-10-22 08:12:33 -05:00

509 B

The Ansible task will use the pwck command to search for non-unique usernames on the system. If any matching usernames are found, an error will be printed and the playbook will fail.

NOTE: The pwck command will find other abnormalities on the system, including users that exist in /etc/passwd but not in /etc/shadow, and vice versa. If the playbook fails on this task, try to run this command on the system as root to find out what caused the failure:

pwck -rq