mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
Fix for Jira Ticket sub-22 v2
Signed-off-by: George Nalen <georgen@mindpointgroup.com>
This commit is contained in:
parent
80f9cf7569
commit
b234d04fc9
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@
|
|||
- name: "PRELIM | Gather accounts with empty password fields"
|
||||
ansible.builtin.shell: "cat /etc/shadow | awk -F: '($2 == \"\" ) {j++;print $1; } END {exit j}'"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
check_mode: false
|
||||
register: empty_password_accounts
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue