"PRELIM | Gather UID 0 accounts other than root" runs even though ubtu22cis_rule_6_2_10 is false
egonzalf opened this issue · 1 comments
egonzalf commented
Describe the Issue
"PRELIM | Gather UID 0 accounts other than root" runs even though ubtu22cis_rule_6_2_10 is false.
Expected Behavior
If ubtu22cis_rule_6_2_10 is false it should not perform tasks related to it.
Actual Behavior
"PRELIM | Gather UID 0 accounts other than root" runs. More over, when encountering multiple UID 0 accounts, it fails because the awk instruction END {exit i}
Control(s) Affected
ubtu22cis_rule_6_2_10
Environment (please complete the following information):
- branch being used: devel
- Ansible Version: 2.15.2
- Host Python Version: 3.10.12
- Ansible Server Python Version: 3.9.10
- Additional Details:
Additional Notes
I'm creating a PR for this.
Possible Solution
I'm creating a PR for this.