Updates for mblogin

This commit is contained in:
Michiel Broek
2002-01-04 21:10:21 +00:00
parent ce20472e98
commit 971a39b565
22 changed files with 74 additions and 1230 deletions

View File

@@ -247,26 +247,6 @@ extern char *strerror();
/*
* login failure logging file format
*
* The login failure file is maintained by login(1) and faillog(8)
* Each record in the file represents a separate UID and the file
* is indexed in that fashion.
*/
struct faillog {
short fail_cnt; /* failures since last success */
short fail_max; /* failures before turning account off */
char fail_line[12]; /* last failure occured here */
time_t fail_time; /* last failure occured then */
/*
* If nonzero, the account will be re-enabled if there are no
* failures for fail_locktime seconds since last failure.
*/
long fail_locktime;
};
#define Max_passlen 14 /* Define maximum passwd length */