mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-24 02:24:32 +08:00
57 lines
1.6 KiB
XML
57 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
|
|
<refentry id='faillog.5'>
|
|
<!-- $Id: faillog.5.xml,v 1.13 2005/11/05 17:17:29 kloczek Exp $ -->
|
|
<refmeta>
|
|
<refentrytitle>faillog</refentrytitle>
|
|
<manvolnum>5</manvolnum>
|
|
</refmeta>
|
|
<refnamediv id='name'>
|
|
<refname>faillog</refname>
|
|
<refpurpose>Login failure logging file</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 id='description'>
|
|
<title>DESCRIPTION</title>
|
|
<para><filename>/var/log/faillog</filename> maintains a count of login
|
|
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
|
|
failure occurred on; and the date the last login failure occurred.
|
|
</para>
|
|
|
|
<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;
|
|
};</programlisting>
|
|
</refsect1>
|
|
|
|
<refsect1 id='files'>
|
|
<title>FILES</title>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><filename>/var/log/faillog</filename></term>
|
|
<listitem>
|
|
<para>login failure log</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1 id='see_also'>
|
|
<title>SEE ALSO</title>
|
|
<para>
|
|
<citerefentry>
|
|
<refentrytitle>faillog</refentrytitle><manvolnum>8</manvolnum>
|
|
</citerefentry>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|