Administrator Guide

Security Commands 893
Example
The following example displays information about the local user database.
console(config)#show users accounts
UserName Privilege Password Password Lockout
Aging Expiry date
------------------------ --------- -------- -------------------- --------
admin 15 200 Jan 13 1915 00:32:12 False
Administrative Profile(s):
show users login-history
Use the show users login-history command in Global Configuration mode to
display information about the login history of users.
Syntax
show users login-history [long]
name
— name of user. (Range: 1-20 characters)
long
— display only the user login name
Default Configuration
This command has no default configuration.
Parameter Description
UserName Local user account’s user name.
Privilege User’s access level (read only-1 or
read/write-15).
Password Aging Indicates whether password aging is
enabled and the password aging period.
Password Expiry Date Current password expiration date in date
format.
Lockout Displays the user’s lockout status (True or
False).
2CSNXXX_SWUM204.book Page 893 Monday, January 25, 2016 1:25 PM