FAILLOCK(8)
โจ FAILLOCK โจ (section 8, Linux-PAM Manual, bestie ๐)
okay so picture this: you're deep in the Linux-PAM manual pages, and you stumble onto faillock โ and it's literally the tool for peeking at and messing with the authentication failure record files. yeah. the receipts. ๐งพ
๐ธ NAME ๐ธ
faillock โ the tool for displaying and modifying the authentication failure record files. no cap, that's the whole job.
๐ฆ SYNOPSIS ๐ฆ
faillock [--dir /path/to/tally-directory] [--user username] [--reset]
that's it. three optional flags and you're the main character of your own account-lockout drama. ๐
๐ DESCRIPTION ๐
so the pam_faillock.so module is out here keeping a whole list of failed authentication attempts, per user, during a specified interval โ and it locks the account in case there were more than deny consecutive failed authentications. dramatic? yes. necessary? also yes. ๐
and the way it stores those failure records? into per-user files in the tally directory. very organized. very demure. ๐
now, the faillock command itself is an application you can use to examine and modify the contents of those tally files. it can show you the recent failed authentication attempts of the username, or it can clear the tally files โ for all usernames or just individual ones. your call, bestie. ๐ซถ
โจ OPTIONS โจ
--conf /path/to/config-fileโ the file where the configuration is located, fr. the default is/etc/security/faillock.conf. that's where the vibes (and the settings) live. ๐--dir /path/to/tally-directoryโ the directory where the user files with the failure records are kept. the receipts folder, basically. ๐
the priority to set this option is: first, use the value provided from the command line. if that isn't provided, then the value from the configuration file is used. and finally, if neither of them has been provided, then /var/run/faillock is used. three-tier fallback, she's got layers. ๐
--user usernameโ the user whose failure records should be displayed or cleared. name the person. be specific. ๐ฏ--resetโ instead of displaying the user's failure records, clear them. poof. gone. clean slate energy. โจ
๐ FILES ๐
/var/run/faillock/*โ the files logging the authentication failures for users. every single one of those little files is a paper trail. ๐งพ
๐ฅ SEE ALSO ๐ฅ
go read them. iykyk. ๐
๐ AUTHOR ๐
faillock was written by Tomas Mraz. absolute legend, we stan. ๐
and that's the whole page, bestie โ go forth and check those tally files responsibly ๐
this has been the Linux-PAM manual page, dated 09/27/2026, section 8, and yeah โ it ate. periodt. ๐
โจ
๐ฆ where this page comes from
- arch rolling: pam 1.7.3-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms