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):
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):
Additional Notes I'm creating a PR for this.
Possible Solution I'm creating a PR for this.