Results 1 to 6 of 6

Thread: Ubuntu Password Entry

  1. #1
    Join Date
    Apr 2010
    Beans
    20

    Ubuntu Password Entry

    Not really a problem as such, I'm simply curious.
    When I enter my password to log on to my account, if I enter it incorrectly there is a delay of a couple of seconds before I can enter it again, where as if I enter it correctly, it logs in straight away.

    Can anyone explain the delay?

  2. #2
    Join Date
    Jun 2008
    Location
    Calgary, Alberta
    Beans
    1,128
    Distro
    Ubuntu Studio 18.04 Bionic Beaver

    Re: Ubuntu Password Entry

    Quote Originally Posted by skaarr View Post
    Not really a problem as such, I'm simply curious.
    When I enter my password to log on to my account, if I enter it incorrectly there is a delay of a couple of seconds before I can enter it again, where as if I enter it correctly, it logs in straight away.

    Can anyone explain the delay?
    It is likely checking and rechecking the password against the saved password file, making sure it is incorrect before prompting you to try again. It is also logging the incorrect attempt and counting how many incorrect attempts are left before locking the computer for a specified time.

    That, or it is messing with you, treating you like someone trying to crack your computer and making it look like it will log in with no problem...then popping up the login prompt while snickering to itself...
    This is a signature. It is original.

  3. #3
    Join Date
    Feb 2006
    Location
    London
    Beans
    355
    Distro
    Ubuntu Development Release

    Re: Ubuntu Password Entry

    It's a simple mechanism against what's known as "brute force" attacks, where an automatic system of some form tries millions of passwords, one after the other, in the hope of happening upon the right one.

    Brute force attacks are slow and inefficient anyway, and adding an additional delay of a second or two makes them virtually impractical.
    Jonathan Rothwell
    (Still waiting for my cheque from $CORPORATION for shilling)
    HTML5 is not a drop-in replacement for Flash. This does not mean that Flash is A Good Thing.

  4. #4
    Join Date
    Jun 2010
    Location
    asoko
    Beans
    834
    Distro
    Ubuntu

    Re: Ubuntu Password Entry

    Quote Originally Posted by jrothwell97 View Post
    It's a simple mechanism against what's known as "brute force" attacks, where an automatic system of some form tries millions of passwords, one after the other, in the hope of happening upon the right one.

    Brute force attacks are slow and inefficient anyway, and adding an additional delay of a second or two makes them virtually impractical.
    we have a full disk encryption system at work that really punishes you for misentry. on the second bad entry, it starts adding a 1 minute pause between attempts, and with every subsequent failure, increases the time by an additional minute. after 5 bad attempts its up to 3 minutes... and then your account is disabled.

  5. #5
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Ubuntu Password Entry

    If you want to learn more, check out: http://en.wikipedia.org/wiki/Linux_PAM

    The default action for the pam_unix module is to request a delay-on-failure of the order of two seconds.

    Code:
    man pam_unix
    man pam_tally

  6. #6
    Join Date
    Apr 2010
    Beans
    20

    Re: Ubuntu Password Entry

    Thanks for all your replies.
    I've never misentered my password twice in a row, but I might go try it now.
    Thanks again all, you've been very helpful.

Tags for this Thread

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
  •