mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix
This commit is contained in:
parent
17faf5f340
commit
64154fb649
@ -2,7 +2,7 @@
|
|||||||
_pkgname=pam
|
_pkgname=pam
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.2
|
pkgver=0.0.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="PAM configuration"
|
pkgdesc="PAM configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
# stdin: default config
|
# stdin: default config
|
||||||
# stdout: modified config
|
# stdout: modified config
|
||||||
set -e
|
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
|
# - 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'
|
echo 'auth optional pam_faildelay.so delay=10000000'
|
||||||
|
|
||||||
|
cat
|
||||||
|
Loading…
Reference in New Issue
Block a user