Owner's Manual

AAA Commands 69
User Guidelines
Relevant to local user passwords, line passwords and enable passwords.
Passwords are not deleted from the history database when they are no longer relevant for
tracking purposes. Increasing the number of days a password is relevant for tracking purposes,
may make a password that was no longer relevant for tracking purposes relevant again.
Example
The following example configures the number of days that a password is relevant for tracking its
password history to 120.
aaa login-history file
The
aaa login-history file
global configuration 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.
set username active
The
set username active
privileged EXEC command reactivates a locked user account.
Syntax
set username
name
active
name—
Name of the user. (Range: 1-20 characters)
Console (config)# passwords history hold-time 120
Console (config)# aaa login-hisory file