Administrator Guide
Security Commands 896
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.
Example
The following example shows user login history outputs.
console#show users login-history
Login Time Username Protocol Location
-------------------- --------- --------- -----------
Jan 19 2005 08:23:48 Bob Serial
Jan 19 2005 08:29:29 Robert HTTP 172.16.0.8
Jan 19 2005 08:42:31 John SSH 172.16.0.1
Jan 19 2005 08:49:52 Betty Telnet 172.16.1.7