PAM_FAILDELAY(8)

๐Ÿ’… PAM_FAILDELAY ๐Ÿ’…

okay bestie, gather round, because we're talking about pam_faildelay โ€” the little Linux-PAM manual page (section 8, she's a sysadmin girlie) that's literally just here to make failed logins โœจtake a minuteโœจ. no cap.


๐ŸŒธ NAME ๐ŸŒธ

pam_faildelay โ€” change the delay on failure, per-application. yes, per-application, she's customizable like that ๐Ÿ’–


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

pam_faildelay.so [debug] [delay=microseconds]

โœจ DESCRIPTION โœจ

so pam_faildelay is a PAM module and her whole thing is: you can set the delay-on-failure per-application. like, different vibes for different services, iykyk ๐Ÿฆ‹

and if you don't hand her a delay? she doesn't just make one up, she's not messy like that. she'll go read the value of FAIL_DELAY from /etc/login.defs instead. she's resourceful, she's lowkey iconic ๐Ÿ‘‘


๐Ÿ’… OPTIONS ๐Ÿ’…

  • debug โ€” turns on debugging messages, which get sent to syslog. basically she starts journaling ๐Ÿ““โœจ
  • delay=N โ€” sets the delay on failure to N microseconds. not seconds, bestie, microseconds. we'll get to that ๐Ÿ’€

๐Ÿ‘‘ MODULE TYPES PROVIDED ๐Ÿ‘‘

only the auth module type. that's it. she does one thing and she does it well, main character energy fr fr ๐Ÿ’œ


๐ŸŒˆ RETURN VALUES ๐ŸŒˆ

  • PAM_IGNORE โ€” the delay was successfully adjusted. slay, she did it ๐ŸŽ‰
  • PAM_SYSTEM_ERR โ€” the specified delay was not valid. she said "not today" ๐Ÿ™ˆ

โญ EXAMPLES โญ

here's the moment you've been waiting for. this example sets the delay on failure to 10 seconds:

auth  optional  pam_faildelay.so  delay=10000000

see how it's 10000000 and not 10? that's because the option is in microseconds and there are a million of those in a second. math ate, honestly ๐Ÿงฎ๐Ÿ”ฅ do not put delay=10 and then be shocked that nothing happens, I'm begging ๐Ÿ˜ญ


๐Ÿซถ SEE ALSO ๐Ÿซถ

pam_fail_delay(3), pam.conf(5), pam.d(5), pam(8)


๐Ÿ“ AUTHOR ๐Ÿ“

pam_faildelay was written by Darren Tucker <dtucker@zip.com.au>. thank you king, we appreciate you ๐Ÿ’–


and that's the whole page, bestie!! this one's from the Linux-PAM Manual, dated 09/27/2026 โ€” so go forth, delay your failures, and stay iconic ๐Ÿ’…โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from