4
0
Fork 0

All passwords are expired during hardening #22

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-08-23 12:21:39 +01:00
parent f45bbd6ee8
commit 4705e361bf
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -117,7 +117,7 @@
- name: "5.6.1.5 | PATCH | Ensure all users last password change date is in the past | Fix accounts with pw change in the future"
command: passwd --expire {{ item }}
when:
- rhel9cis_5_6_1_5_user_list | length > 0
- rhel9cis_5_6_1_5_user_list.stdout | length > 0
- rhel9cis_futurepwchgdate_autofix
with_items:
- "{{ rhel9cis_5_6_1_5_user_list.stdout_lines }}"