This commit is contained in:
Daniel Langbein 2022-04-15 16:46:50 +02:00
parent 17faf5f340
commit 64154fb649
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=pam
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgver=0.0.3
pkgrel=1
pkgdesc="PAM configuration"
arch=('any')

View File

@ -2,8 +2,11 @@
# stdin: default config
# stdout: modified config
set -e
cat
# Enforce a delay after a failed login attempt
# 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