We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c58815 commit 140a0a1Copy full SHA for 140a0a1
files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml
@@ -336,6 +336,27 @@
336
regexp: '^#?[\s]*(auth[\s]+required[\s]+pam_wheel\.so.*)$'
337
replace: '\1'
338
339
+#
340
341
+# Lock out the user after an unsuccessful consecutive login attempts.
342
343
+- lineinfile:
344
+ path: /etc/pam.d/common-auth
345
+ line: "{{ item }}"
346
+ with_items:
347
+ - 'auth required pam_tally2.so onerr=fail audit silent deny=5 unlock_time=900'
348
+
349
350
351
+# Configuration to remember user password history.
352
353
354
+ path: /etc/pam.d/common-password
355
356
357
+ - 'password required pam_pwhistory.so remember=5'
358
359
360
#
361
# Enable SNMP client tools to load MIBs by default.
362
0 commit comments