faillock.8 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. '\" t
  2. .\" Title: faillock
  3. .\" Author: [see the "AUTHOR" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
  5. .\" Date: 09/03/2021
  6. .\" Manual: Linux-PAM Manual
  7. .\" Source: Linux-PAM Manual
  8. .\" Language: English
  9. .\"
  10. .TH "FAILLOCK" "8" "09/03/2021" "Linux-PAM Manual" "Linux\-PAM Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. faillock \- Tool for displaying and modifying the authentication failure record files
  32. .SH "SYNOPSIS"
  33. .HP \w'\fBfaillock\fR\ 'u
  34. \fBfaillock\fR [\-\-dir\ \fI/path/to/tally\-directory\fR] [\-\-user\ \fIusername\fR] [\-\-reset]
  35. .SH "DESCRIPTION"
  36. .PP
  37. The
  38. \fIpam_faillock\&.so\fR
  39. module maintains a list of failed authentication attempts per user during a specified interval and locks the account in case there were more than
  40. \fIdeny\fR
  41. consecutive failed authentications\&. It stores the failure records into per\-user files in the tally directory\&.
  42. .PP
  43. The
  44. \fBfaillock\fR
  45. command is an application which can be used to examine and modify the contents of the tally files\&. It can display the recent failed authentication attempts of the
  46. \fIusername\fR
  47. or clear the tally files of all or individual
  48. \fIusernames\fR\&.
  49. .SH "OPTIONS"
  50. .PP
  51. \fB\-\-dir \fR\fB\fI/path/to/tally\-directory\fR\fR
  52. .RS 4
  53. The directory where the user files with the failure records are kept\&. The default is
  54. /var/run/faillock\&.
  55. .RE
  56. .PP
  57. \fB\-\-user \fR\fB\fIusername\fR\fR
  58. .RS 4
  59. The user whose failure records should be displayed or cleared\&.
  60. .RE
  61. .PP
  62. \fB\-\-reset\fR
  63. .RS 4
  64. Instead of displaying the user\*(Aqs failure records, clear them\&.
  65. .RE
  66. .SH "FILES"
  67. .PP
  68. /var/run/faillock/*
  69. .RS 4
  70. the files logging the authentication failures for users
  71. .RE
  72. .SH "SEE ALSO"
  73. .PP
  74. \fBpam_faillock\fR(8),
  75. \fBpam\fR(8)
  76. .SH "AUTHOR"
  77. .PP
  78. faillock was written by Tomas Mraz\&.