cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
627
Views
5
Helpful
5
Replies

Show configured users without privilege 15

nkillgore
Level 1
Level 1

Is it possible to view a list of local users without being in enable mode?

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

Yes, you can issue "sh user" command when you are not in enable mode

HTH

I think show users just shows currently logged in users

You won't be able to see the configured users on a router since you can't do a "show run". If you want that, you'll need to configure "show run" and include username for privilege level 0. I would highly recommend against this obviously.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

This is correct, you can do a 'show user' but will only show users who are logged in to lines.

In normal user exec mode you wont be able to do a 'show run' as John mentioned, which is the only way to read the usernames as far as i know.

If you have a concern with passwords showing in the config, you can also do a 'service password encryption' command in configuration mode which will encrypt passwords.

hope this helps.

Please rate useful posts and remember to mark any solved questions as answered. Thank you.

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Leo Laohoo
Hall of Fame
Hall of Fame

Here's another method but will depend if you are running IOS version 12.2(58)SE or higher.

The command is "sh configuration history".  This will tell you the last 5 configurations attempts made.