You are not logged in.
Pages: 1
There appear to be two situations where sudo is having password issues, or password issues are happening somewhere:
1. When I enter the wrong password repeatedly (without any such policy applied to the system)
2. When it seemingly feels like it
This issue is intermittent and thus hard to reproduce. Anyone else having similar problems and/or know how to trace the problem?
Last edited by medicineman2500 (2022-01-21 15:09:01)
Offline
You'll want to look into pam_faillock.
Offline
You'll want to look into pam_faillock.
Is that the one which sets lockout policies on failed attempts? Because I haven't set that up and from memory by default it's not activated.
I should also mention that even after switching user to root and resetting my users password, I still cannot use it until I do a full reboot.
Offline
Check the output of "faillock" and whether you're banned.
"faillock --reset" will open the module again and it *is* active by default:
https://wiki.archlinux.org/title/Securi … n_attempts
As of pambase 20200721.1-2, pam_faillock.so is enabled by default to lock out users for 10 minutes after 3 failed login attempts in a 15 minute period (see FS#67644). The lockout only applies to password authentication (e.g. login and sudo), public key authentication over SSH is still accepted. To prevent complete denial-of-service, this lockout is disabled on root.
Offline
Check the output of "faillock" and whether you're banned.
"faillock --reset" will open the module again and it *is* active by default:
https://wiki.archlinux.org/title/Securi … n_attemptsAs of pambase 20200721.1-2, pam_faillock.so is enabled by default to lock out users for 10 minutes after 3 failed login attempts in a 15 minute period (see FS#67644). The lockout only applies to password authentication (e.g. login and sudo), public key authentication over SSH is still accepted. To prevent complete denial-of-service, this lockout is disabled on root.
Ah ... "20200721" so only a change that happened just over 16 months ago no biggie haha
Tbh it's probably this and I'm imagining things. Solved.
Last edited by medicineman2500 (2022-01-21 15:09:31)
Offline
Pages: 1