Re: username/password command

From: Łukasz Bromirski (lukasz@bromirski.net)
Date: Thu Aug 26 2004 - 17:33:50 GMT-3


ccie2be wrote:

> Is there a show command that just shows what usernames and passwords are
> configured on a router?
> I looked in the master command index but didn't find anything.

There is no such command, as Cisco boxes can use various AAA methods
to fetch and check usernames/passwords.

For a quick shortcut You can use

show running-config | incl username |password |enable (password|secret)

(notice the spaces)

...which should return locally configured users, enable password/secret,
and any passwords set at vty/console/AUX, but as I said, it's only
shortcut, not revealing other sources of authentication information.

-- 
this space was intentionally left blank    |              #ukasz Bromirski
you can insert your favourite quote here   |          lukasz:bromirski,net


This archive was generated by hypermail 2.1.4 : Fri Sep 03 2004 - 07:02:49 GMT-3