[comp.unix.questions] Login Attempts

hamilton@tsc.cs.unc.edu (Johnny Hamilton) (03/10/89)

        subject:  program to check login attempts on accounts

    I recently read the following from a VMS user:

>On the VMS system I work on, there is a line that shows up when
>you login telling how many failed login attempts have been made on
>your account since the last successful login.  It seems that this
>would let you know right away if someone else tried to get into your
>account.

    Has anyone created this utility for UNIX?  If so I would be interested
    in getting a copy of the src code for installation here.  Our department
    has a large number and variety of UNIX machines, including suns, VAXes,
    and a Data General.  All but the DG run some version of BSD UNIX (ULTRIX,
    4.3 Mt. Xinu, SUN/OS), and the DG runs DG/UX, a System V/4.2 combination.
    If so, I would be interested in getting a copy of the src code for instal-
    lation here.

    Thanks,

    Johnny D. Hamilton
    Research Assistant
    UNC-CH
    hamilton@cs.unc.edu

guy@auspex.UUCP (Guy Harris) (03/14/89)

 >>On the VMS system I work on, there is a line that shows up when
 >>you login telling how many failed login attempts have been made on
 >>your account since the last successful login.
 >
 >    Has anyone created this utility for UNIX?

I tend to expect that nobody has, since no version of UNIX I know of
keeps track of the number of failed login attempts made on an account. 
You'd have to replace "login" in order to do that; I seem to remember
somebody doing a publicly-available reimplementation of "login", but I
don't know whether it can replace the versions of "login" on all the
systems you mention or, say, just the ones on systems with S5-based
implementations of "login".