2007-10-07 17:16:16 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<refentry id='faillog.5'>
|
2007-11-11 05:16:11 +05:30
|
|
|
<!-- $Id$ -->
|
2007-10-07 17:16:16 +05:30
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>faillog</refentrytitle>
|
|
|
|
<manvolnum>5</manvolnum>
|
2007-10-07 17:17:57 +05:30
|
|
|
<refmiscinfo class="sectdesc"> File Formats and Conversions</refmiscinfo>
|
2007-10-07 17:16:16 +05:30
|
|
|
</refmeta>
|
|
|
|
<refnamediv id='name'>
|
|
|
|
<refname>faillog</refname>
|
2007-10-07 17:17:33 +05:30
|
|
|
<refpurpose>login failure logging file</refpurpose>
|
2007-10-07 17:16:16 +05:30
|
|
|
</refnamediv>
|
2007-10-07 17:17:01 +05:30
|
|
|
|
2007-10-07 17:16:16 +05:30
|
|
|
<refsect1 id='description'>
|
|
|
|
<title>DESCRIPTION</title>
|
2007-10-07 17:16:25 +05:30
|
|
|
<para><filename>/var/log/faillog</filename> maintains a count of login
|
2007-10-07 17:16:16 +05:30
|
|
|
failures and the limits for each account. The file is fixed length
|
|
|
|
record, indexed by numerical UID. Each record contains the count of
|
|
|
|
login failures since the last successful login; the maximum number of
|
|
|
|
failures before the account is disabled; the line the last login
|
2007-10-07 17:17:45 +05:30
|
|
|
failure occurred on; the date the last login failure occurred;
|
|
|
|
and the time in seconds how long the account will be locked after
|
|
|
|
a failure.
|
2007-10-07 17:16:16 +05:30
|
|
|
</para>
|
2007-10-07 17:17:01 +05:30
|
|
|
|
2007-10-07 17:16:25 +05:30
|
|
|
<para>The structure of the file is:</para>
|
|
|
|
<programlisting>
|
|
|
|
struct faillog {
|
|
|
|
short fail_cnt;
|
|
|
|
short fail_max;
|
|
|
|
char fail_line[12];
|
|
|
|
time_t fail_time;
|
2007-10-07 17:17:45 +05:30
|
|
|
long fail_locktime;
|
2007-10-07 17:16:25 +05:30
|
|
|
};</programlisting>
|
2007-10-07 17:16:16 +05:30
|
|
|
</refsect1>
|
2007-10-07 17:17:01 +05:30
|
|
|
|
2007-10-07 17:16:16 +05:30
|
|
|
<refsect1 id='files'>
|
|
|
|
<title>FILES</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2007-10-07 17:17:01 +05:30
|
|
|
<term><filename>/var/log/faillog</filename></term>
|
|
|
|
<listitem>
|
2007-10-07 17:17:33 +05:30
|
|
|
<para>Failure logging file.</para>
|
2007-10-07 17:17:01 +05:30
|
|
|
</listitem>
|
2007-10-07 17:16:16 +05:30
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
2007-10-07 17:17:01 +05:30
|
|
|
|
2007-10-07 17:16:16 +05:30
|
|
|
<refsect1 id='see_also'>
|
|
|
|
<title>SEE ALSO</title>
|
2007-10-07 17:17:01 +05:30
|
|
|
<para>
|
|
|
|
<citerefentry>
|
|
|
|
<refentrytitle>faillog</refentrytitle><manvolnum>8</manvolnum>
|
2007-10-07 17:16:16 +05:30
|
|
|
</citerefentry>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|