Results 1 to 3 of 3

Thread: How to list failed login attempts?

  1. #1
    Join Date
    Aug 2009
    Location
    Slovenia
    Beans
    91
    Distro
    Edubuntu 11.04 Natty Narwhal

    How to list failed login attempts?

    Hi guys,

    I would like to know how to list failed login attempts on Ubuntu system (console and ssh). I've googled a bit and found out command
    Code:
    faillog
    , but it doesn't print the deliberately failed log in, don't know why. I remember on Suse I did grep the /var/log/messages to get the ssh failed logins. How do I it on ubuntu? Advices much appreciated, thanks.

  2. #2
    Join Date
    Sep 2006
    Beans
    7,461
    Distro
    Lubuntu Development Release

    Re: How to list failed login attempts?

    Check in /var/log/auth.log, that's where the failed attempts should be recorded.

  3. #3
    Join Date
    Aug 2009
    Location
    Slovenia
    Beans
    91
    Distro
    Edubuntu 11.04 Natty Narwhal

    Re: How to list failed login attempts?

    Check in /var/log/auth.log, that's where the failed attempts should be recorded.
    very good, thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •