Section: System Management Commands (8)
Return to Main Contents
faillog - display faillog records or set login failure limits
formats the contents of the failure log from
database. It also can be used for maintains failure counters and limits. Run
without arguments display only list of user faillog records who have ever had a login failure.
The options which apply to the
- -a, --all
Display faillog records for all users.
- -h, --help
Display help message and exit.
- -l, --lock-time SEC
Lock account to
seconds after failed login.
- -m, --maximum MAX
Set maximum number of login failures after the account is disabled to
value of 0 has the effect of not placing a limit on the number of failed logins. The maximum failure count should always be 0 for
to prevent a denial of services attack against the system.
- -r, --reset
Reset the counters of login failures or one record if used with the
option. Write access to
is required for this option.
- -t, --time DAYS
Display faillog records more recent than
flag overrides the use of
- -u, --user LOGIN
Display faillog record or maintains failure counters and limits (if used with
options) only for user with
only prints out users with no successful login since the last failure. To print out a user who has had a successful login since their last failure, you must explicitly request the user with the
flag, or print out all users with the
Failure logging file.
- SEE ALSO
linux.jgfs.net manual pages