6.2.3 | L1 | AUDIT | Ensure all groups in /etc/passwd exist in /etc/group | Check /etc/passwd entries"
dpinyol opened this issue · 0 comments
dpinyol commented
Describe the Issue
6.2.3 | L1 | AUDIT | Ensure all groups in /etc/passwd exist in /etc/group | Check /etc/passwd entries" use shell:
pwck -r | grep 'no group' | awk '{ gsub("[:\47]",""); print $2}'
Expected Behavior
Actual Behavior
A clear and concise description of what's happening.
Control(s) Affected
What controls are being affected by the issue
Environment (please complete the following information):
- Ansible Version: [e.g. 2.10]
- Host Python Version: [e.g. Python 3.7.6]
- Ansible Server Python Version: [e.g. Python 3.7.6]
- Additional Details:
Additional Notes
Anything additional goes here
Possible Solution
Enter a suggested fix here