Reference Guide

AAA Commands 87
User Guidelines
Relevant to local user passwords, line passwords, and enable passwords.
The user account can still access the local console.
A different administrator, with privilege level 15, can release a locked account by using the
set
username active
command.
Example
The following example configures the number of failed login attempts before a user account is
locked to 3.
aaa login-history file
The aaa login-history file Global Configuration mode command enables writing to the login
history file. To disable writing to the file, use the no form of this command.
Syntax
aaa login-history file
no aaa login-history file
Default Configuration
Writing to the login history file is enabled.
Command Mode
Global Configuration mode
User Guidelines
The login history is also saved in the internal buffer of the device.
Example
The following example enables writing to the login history file.
Console(config)# passwords lockout 3
Console(config)# aaa login-history file