Last succesfully login

Unanswered Question
Feb 7th, 2008

Hi all.

Anyone know if there is a way, when I login to a router via telnet or ssh, to print on screen (like motd message), last succesfully login of the user?

Like on linux...

Thanks

Daniele

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Richard Burts Fri, 02/08/2008 - 06:24

Daniele

IOS does not track login history for individual users. So I do not see how it would be possible to have that displayed at login time.

HTH

Rick

dimensyssrl Mon, 02/11/2008 - 01:55

Rick, with these commands I can track login:

login on-failure log

login on-success log

Now I solve my issue with autocommand con line vty, but I thought that there is a better way.

Daniele

guruprasadr Mon, 02/11/2008 - 05:00

HI Daniele, [Pls Rate if HELPS]

Naturally, your requirement is different. You wanted to get displayed as how in LINUX.

In CISCO Router it is not possible. But,

"login on-failure log"

"login on-success log"

>> Will generate a SYSLOG message for every Successful Login & Failure Login attempts but this is not same as in LINUX.

Refer the Attachment having the CISCO Login Enchancement feature in IOS.

Hope i am Informative.

PLS RATE if HELPS

Best Regards,

Guru Prasad R

Actions

This Discussion