faillock man page

faillock — Tool for displaying and modifying the authentication failure record files


faillock [--dir /path/to/tally-directory] [--user username] [--reset]


The pam_faillock.so module maintains a list of failed authentication attempts per user during a specified interval and locks the account in case there were more than deny consecutive failed authentications. It stores the failure records into per-user files in the tally directory.

The faillock command is an application which can be used to examine and modify the contents of the the tally files. It can display the recent failed authentication attempts of the username or clear the tally files of all or individual usernames.


--dir /path/to/tally-directory
The directory where the user files with the failure records are kept. The default is /var/run/faillock.
--user username
The user whose failure records should be displayed or cleared.
Instead of displaying the user's failure records, clear them.



the files logging the authentication failures for users

See Also

pam_faillock(8), pam(8)


faillock was written by Tomas Mraz.

Referenced By


Explore man page connections for faillock(8).

Linux-PAM Manual 05/06/2016