Skip to content

Commit

Permalink
Merge pull request #466 from layluke/462
Browse files Browse the repository at this point in the history
Excluding non-interactive logins shells from being parsed
  • Loading branch information
uk-bolly authored Jul 17, 2024
2 parents 3026fd9 + 2db15ef commit a85ccc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/parse_etc_passwd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: "PRELIM | {{ rhel7stig_passwd_tasks }} | Parse /etc/passwd"
block:
- name: "PRELIM | {{ rhel7stig_passwd_tasks }} | Parse /etc/passwd"
ansible.builtin.shell: cat /etc/passwd
ansible.builtin.shell: cat /etc/passwd | grep -v '/sbin/nologin\|/usr/sbin/nologin'
changed_when: false
check_mode: false
register: rhel7stig_passwd_file_audit
Expand Down

0 comments on commit a85ccc0

Please sign in to comment.