The Schworak Site | Log In | Up A Level

5. File formats and conventions eg /etc/passwd

Enter a Linux command to search for:

FAILLOG

Section: File Formats and Conversions (5)
Updated: 02/06/2024
Index  |  Return to Main Contents
 

NAME

faillog - login failure logging file  

DESCRIPTION

/var/log/faillog maintains a count of login failures and the limits for each account.

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.

The structure of the file is:

struct  faillog {
        short   fail_cnt;
        short   fail_max;
        char    fail_line[12];
        time_t  fail_time;
        long    fail_locktime;
};
 

FILES

/var/log/faillog

Failure logging file.
 

SEE ALSO

faillog(8)


 

Index

NAME
DESCRIPTION
FILES
SEE ALSO

Return to Main Contents

All content on this site is copyright ©2004-2024 and is not to be reproduced without prior permission.