man-pages/man5/faillog.5.html
2021-03-31 01:06:50 +01:00

99 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FAILLOG</TITLE>
</HEAD><BODY>
<H1>FAILLOG</H1>
Section: File Formats and Conversions (5)<BR>Updated: 05/28/2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
faillog - login failure logging file
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
/var/log/faillog
maintains a count of login failures and the limits for each account.
<P>
The file contains fixed length records, 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 on which the last login failure occurred; the date of the last login failure; and the duration (in seconds) during which the account will be locked after a failure.
<P>
The structure of the file is:
<P>
<DL COMPACT><DT id="1"><DD>
<PRE>
struct faillog {
short fail_cnt;
short fail_max;
char fail_line[12];
time_t fail_time;
long fail_locktime;
};
</PRE>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>FILES</H2>
<P>
/var/log/faillog
<DL COMPACT><DT id="2"><DD>
Failure logging file.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?8+faillog">faillog</A></B>(8)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAD">FILES</A><DD>
<DT id="6"><A HREF="#lbAE">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:03 GMT, March 31, 2021
</BODY>
</HTML>