arch/pkg/de-p1st-pam/system-login.holoscript
2022-04-15 16:46:50 +02:00

13 lines
347 B
Bash

#!/bin/sh
# stdin: default config
# stdout: modified config
set -e
# Enforce a 10s delay after a failed login attempt
# - https://wiki.archlinux.org/title/Security#Enforce_a_delay_after_a_failed_login_attempt
# - Has to be the first line of the file!
# - https://askubuntu.com/a/877390
echo 'auth optional pam_faildelay.so delay=10000000'
cat