-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

look into the pam_tally module, it will give you exactly that, a login counter 
with a "deny" option.
example I found:
account     required      /lib/security/pam_tally.so deny=5 no_magic_root 
reset

Katriel


On Tuesday 04 February 2003 07:43, Skliarouk Arie wrote:
> Hello all,
>
> There is an computer with services POP3 and ssh that allow unlimited
> unsuccessful logins attempts to be done during the session.
>
> The question is: How to limit number of unsuccessful logins to one or two?
>
> I already filed bug again pam_modules in debian:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=179064
>
> I do not know whether POP3 service authentificates users using PAM or not.
> I am sure ssh uses PAM.
>
> The only thing I found so far is file
> /etc/login.defs (search for LOGIN_RETRIES) that states 5 attempts, but
> mention that PAM will override the default to three UNLESS SPECIFIED BY
> USER.
>
> ---
> Bye,  | Fax: (972)-2-6796453
> Arieh | Phone: (972)-6795364
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

- -- 
+katriel                                                ������+
pgp key: traum.org.il/gpg.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+P5bVDWy+Hv/461sRAiAKAKCkv6z1stJ8kIw6LZ+nVQaR/PyN2gCgrazX
HXXTQGt+WypZAjNkTdHqxi0=
=Z44b
-----END PGP SIGNATURE-----


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to