faillock.8.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding='UTF-8'?>
  2. <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
  4. <refentry id="faillock">
  5. <refmeta>
  6. <refentrytitle>faillock</refentrytitle>
  7. <manvolnum>8</manvolnum>
  8. <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo>
  9. </refmeta>
  10. <refnamediv id="pam_faillock-name">
  11. <refname>faillock</refname>
  12. <refpurpose>Tool for displaying and modifying the authentication failure record files</refpurpose>
  13. </refnamediv>
  14. <refsynopsisdiv>
  15. <cmdsynopsis id="faillock-cmdsynopsis">
  16. <command>faillock</command>
  17. <arg choice="opt">
  18. --dir <replaceable>/path/to/tally-directory</replaceable>
  19. </arg>
  20. <arg choice="opt">
  21. --user <replaceable>username</replaceable>
  22. </arg>
  23. <arg choice="opt">
  24. --reset
  25. </arg>
  26. </cmdsynopsis>
  27. </refsynopsisdiv>
  28. <refsect1 id="faillock-description">
  29. <title>DESCRIPTION</title>
  30. <para>
  31. The <emphasis>pam_faillock.so</emphasis> module maintains a list of
  32. failed authentication attempts per user during a specified interval
  33. and locks the account in case there were more than
  34. <replaceable>deny</replaceable> consecutive failed authentications.
  35. It stores the failure records into per-user files in the tally
  36. directory.
  37. </para>
  38. <para>
  39. The <command>faillock</command> command is an application which
  40. can be used to examine and modify the contents of the
  41. tally files. It can display the recent failed authentication
  42. attempts of the <replaceable>username</replaceable> or clear the tally
  43. files of all or individual <replaceable>usernames</replaceable>.
  44. </para>
  45. </refsect1>
  46. <refsect1 id="faillock-options">
  47. <title>OPTIONS</title>
  48. <variablelist>
  49. <varlistentry>
  50. <term>
  51. <option>--dir <replaceable>/path/to/tally-directory</replaceable></option>
  52. </term>
  53. <listitem>
  54. <para>
  55. The directory where the user files with the failure records are kept. The
  56. default is <filename>/var/run/faillock</filename>.
  57. </para>
  58. </listitem>
  59. </varlistentry>
  60. <varlistentry>
  61. <term>
  62. <option>--user <replaceable>username</replaceable></option>
  63. </term>
  64. <listitem>
  65. <para>
  66. The user whose failure records should be displayed or cleared.
  67. </para>
  68. </listitem>
  69. </varlistentry>
  70. <varlistentry>
  71. <term>
  72. <option>--reset</option>
  73. </term>
  74. <listitem>
  75. <para>
  76. Instead of displaying the user's failure records, clear them.
  77. </para>
  78. </listitem>
  79. </varlistentry>
  80. </variablelist>
  81. </refsect1>
  82. <refsect1 id="faillock-files">
  83. <title>FILES</title>
  84. <variablelist>
  85. <varlistentry>
  86. <term><filename>/var/run/faillock/*</filename></term>
  87. <listitem>
  88. <para>the files logging the authentication failures for users</para>
  89. </listitem>
  90. </varlistentry>
  91. </variablelist>
  92. </refsect1>
  93. <refsect1 id='faillock-see_also'>
  94. <title>SEE ALSO</title>
  95. <para>
  96. <citerefentry>
  97. <refentrytitle>pam_faillock</refentrytitle><manvolnum>8</manvolnum>
  98. </citerefentry>,
  99. <citerefentry>
  100. <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
  101. </citerefentry>
  102. </para>
  103. </refsect1>
  104. <refsect1 id='faillock-author'>
  105. <title>AUTHOR</title>
  106. <para>
  107. faillock was written by Tomas Mraz.
  108. </para>
  109. </refsect1>
  110. </refentry>