59 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <refentry id='faillog.5'>
 | |
|   <!-- $Id$ -->
 | |
|   <refmeta>
 | |
|     <refentrytitle>faillog</refentrytitle>
 | |
|     <manvolnum>5</manvolnum>
 | |
|     <refmiscinfo class="sectdesc"> File Formats and Conversions</refmiscinfo>
 | |
|   </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; the date the last login failure occurred;
 | |
|       and the time in seconds how long the account will be locked after
 | |
|       a failure.
 | |
|     </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;
 | |
| 	long    fail_locktime;
 | |
| };</programlisting>
 | |
|   </refsect1>
 | |
| 
 | |
|   <refsect1 id='files'>
 | |
|     <title>FILES</title>
 | |
|     <variablelist>
 | |
|       <varlistentry>
 | |
| 	<term><filename>/var/log/faillog</filename></term>
 | |
| 	<listitem>
 | |
| 	  <para>Failure logging file.</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>
 | |
| 
 |