Unix administration - How to disable login after too many attempts

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > December 2004 > How to disable login after too many attempts





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to disable login after too many attempts
Carol

2004-12-04, 7:47 am

I want to disable a user's password after they have tried
unsuccessfully to login three times. I looked at the 'passwd' command
and also the /etc/default/passwd file but did not find anything
pertinent. The most I found was the ability to disconnect the session
after three attempts. However the user can reconnect and keep trying.

Our operating system is an antique - DC/Osx. It is similar to the OS
on a Sieman's machine running ATT4.

Thanks
phn@icke-reklam.ipsec.nu

2004-12-04, 6:03 pm

Carol <googlemail2003@yahoo.com> wrote:
> I want to disable a user's password after they have tried
> unsuccessfully to login three times. I looked at the 'passwd' command
> and also the /etc/default/passwd file but did not find anything
> pertinent. The most I found was the ability to disconnect the session
> after three attempts. However the user can reconnect and keep trying.


> Our operating system is an antique - DC/Osx. It is similar to the OS
> on a Sieman's machine running ATT4.


> Thanks


You might seek another solution. Locking out users automatically
is a good way to create Denial of services.

Better let the intruder continue, make shure the password will
never match and start tracing him (and have the authoryties with you)

A non-working password can be obtained by adding a character to the hash,
thus disabling any matches. Changing the shell to /bin/false will also
make shure he never gets in.

--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com