Cisco – show all users on a Catalyst Cisco switch

ciscocisco-asanetworkinguser-accounts

I am new to Cisco, I am having some difficulty:

I'd like to list all user accounts. show users only displays currently logged in users.

I have no problem changing the enable password, but I'd like to see all available users so I can change specific user passwords as well.

  • How do I list all user accounts?
  • How would I reset the password for a specific user?

Using 3750, 3560 switches and 55/10-20 ASAs.

Best Answer

Q1. How do I list all user accounts?

From the enable prompt, run show run | i username...

CORE01.PUB.DAL01#sh run | i user
username operator password 7 <someHashedPassword>
CORE01.PUB.DAL01#

Q2. How would I reset the password for a specific user?

Change the password from configuration mode

CORE01.PUB.DAL01#conf t
CORE01.PUB.DAL01(config)#username <someuser> password 0 <somepassword>

Syntax is slightly different for an ASA...

mpenning-fw(config)# user <someuser> password <somepassword>