forked from ansible-lockdown/RHEL9-CIS
v2 improvements
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
7c2a6a2a89
commit
0fc418a222
14 changed files with 542 additions and 709 deletions
|
|
@ -51,10 +51,9 @@
|
|||
- discovered_gid0_members.stdout | length > 0
|
||||
ansible.builtin.user:
|
||||
name: "{{ item }}"
|
||||
gid: 0
|
||||
group: root
|
||||
state: absent
|
||||
loop:
|
||||
- discovered_gid0_members.stdout_lines
|
||||
loop: "{{ discovered_gid0_members.stdout_lines }}"
|
||||
|
||||
- name: "5.4.2.3 | AUDIT | Ensure group root is the only GID 0 group"
|
||||
when:
|
||||
|
|
@ -96,7 +95,7 @@
|
|||
vars:
|
||||
warn_control_id: '5.4.2.3'
|
||||
|
||||
- name: "5.4.2.4 | PATCH | Ensure root account access is controlled"
|
||||
- name: "5.4.2.4 | PATCH | Ensure root account access is controlled "
|
||||
when:
|
||||
- rhel9cis_rule_5_4_2_4
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue