04-02-2013 09:19 AM - edited 03-07-2019 12:35 PM
Is it possible to view a list of local users without being in enable mode?
04-02-2013 10:03 AM
Yes, you can issue "sh user" command when you are not in enable mode
HTH
04-02-2013 12:40 PM
I think show users just shows currently logged in users
04-02-2013 12:56 PM
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 ***
04-02-2013 01:10 PM
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.
04-02-2013 02:17 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide