CLI Guide
Security Commands 975
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 [username|long]
• username — name of user. (Range: 1-64 characters)
• long — display only the user login name
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
This command displays switch administrative user information.
Password Expiry Date Current password expiration date in date
format.
Lockout Displays the user’s lockout status (True or
False).
Parameter Description