72
72
static void usage (void)
74
fputs (_("Usage: faillog [options]\n"
77
" -a, --all display faillog records for all users\n"
78
" -h, --help display this help message and exit\n"
79
" -l, --lock-time SEC after failed login lock account to SEC seconds\n"
80
" -m, --maximum MAX set maximum failed login counters to MAX\n"
81
" -r, --reset reset the counters of login failures\n"
82
" -t, --time DAYS display faillog records more recent than DAYS\n"
83
" -u, --user LOGIN display faillog record or maintains failure\n"
84
" counters and limits (if used with -r, -m or -l\n"
85
" options) only for user with LOGIN\n"
74
(void) fprintf (stderr,
75
_("Usage: %s [options]\n"
79
(void) fputs (_(" -a, --all display faillog records for all users\n"), stderr);
80
(void) fputs (_(" -h, --help display this help message and exit\n"), stderr);
81
(void) fputs (_(" -l, --lock-time SEC after failed login lock account for SEC seconds\n"), stderr);
82
(void) fputs (_(" -m, --maximum MAX set maximum failed login counters to MAX\n"), stderr);
83
(void) fputs (_(" -r, --reset reset the counters of login failures\n"), stderr);
84
(void) fputs (_(" -t, --time DAYS display faillog records more recent than DAYS\n"), stderr);
85
(void) fputs (_(" -u, --user LOGIN/RANGE display faillog record or maintains failure\n"
86
" counters and limits (if used with -r, -m,\n"
87
" or -l) only for the specified LOGIN(s)\n"), stderr);
88
(void) fputs ("\n", stderr);