Skip to content

Commit

Permalink
Add increase login attempts til
Browse files Browse the repository at this point in the history
  • Loading branch information
Shourai committed Aug 23, 2023
1 parent 4ccc62f commit 888b1e1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions linux/increase_login_attempts.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 888b1e1

Please sign in to comment.