From 888b1e13418354ea0e969989cf6636eeb5e96446 Mon Sep 17 00:00:00 2001 From: Shourai <10200748+Shourai@users.noreply.github.com> Date: Wed, 23 Aug 2023 08:28:39 +0200 Subject: [PATCH] Add increase login attempts til --- linux/increase_login_attempts.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 linux/increase_login_attempts.md diff --git a/linux/increase_login_attempts.md b/linux/increase_login_attempts.md new file mode 100644 index 0000000..b9cdc4f --- /dev/null +++ b/linux/increase_login_attempts.md @@ -0,0 +1,17 @@ +# Increase login attempts + +Usually you get 3 login attempts before having to wait 10 seconds. +Every login you get wrong after that increases the time you have to wait. +To increase the amount of login attempts before that happens, edit `/etc/security/faillock.conf` + +``` +# Deny access if the number of consecutive authentication failures +# for this user during the recent interval exceeds n tries. +# The default is 3. +deny = 10 +``` + +see also: +``` +man pam_faillock +```