Daniel Carrera daniel.carrera at
Sat Apr 29 22:53:48 UTC 2006

Daniel Carrera wrote:
>> OK - A google search on "linux limit failed logins " turned up
> Weird... that man page is different from the one on my system. In 
> particular, my man page doesn't mention the crucial -l option, even 
> though the -l flag actually works.

Weireder yet, I can't get it to work on my system. Maybe I'm using it wrong.

# This should make all accounts disable for 5min after a failed login.
sudo faillog -l 300

Then I ssh to my own box and type bogus passwords until I'm kicked out. 
I inmediately ssh again (before the 5min are up), type the correct 
password and I'm allowed in. It looks like faillog didn't do anything.


    /\/_/   ...and starting today, all passwords must
    \/_/    contain letters, numbers, doodles, sign
    /       language and squirrel noises.

More information about the ubuntu-users mailing list