Re: pam 1.6.1-2 breaks sudo password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Friday, 12 April 2024 at 10:10 (+0200), Martin Rys wrote:
Are you sure you're not just hitting the new(old at this point) idiotic default of always failing after X failed attempts in Y time? That would mean you mistyped the password a few times, but afterwards it would not matter even if you typed it correctly.

Rebooting will get you out of the timelock

FYI, the "idiotic default" may feel less annoying when you use the documented solution:

$ faillock --reset

as your user will reset the counter. So, if you make some mistypes while invoking sudo, you can unlock use of your password instantly from the same shell where you messed up.

On the other hand, if you're locked out while logging in, before you have access to a shell, then running

# faillock --reset --user [your username]

as root will do the same. Note that by default root has no fail lock, so this solution should always be possible.

I hope this saves you a few reboots.

Best,
Jaron




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux