Skip to content

Commit

Permalink
DLPX-86530 test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rupalimatkar committed Apr 28, 2024
1 parent dc39541 commit a0dc8bb
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,28 @@
regexp: '^#?[\s]*(auth[\s]+required[\s]+pam_wheel\.so.*)$'
replace: '\1'

#
#
# Lock out the user after an unsuccessful consecutive login attempts.
#
- lineinfile:
path: /etc/pam.d/common-auth
line: "{{ item }}"
insertafter: BOF
with_items:
- 'auth required pam_tally2.so audit silent deny=5 unlock_time=900'

#
#
# Configuration to remember user password history.
#
- lineinfile:
path: /etc/pam.d/common-account
line: "{{ item }}"
insertafter: EOF
with_items:
- 'account required pam_tally2.so'

#
# Enable SNMP client tools to load MIBs by default.
#
Expand Down

0 comments on commit a0dc8bb

Please sign in to comment.