And while we're talking about logins --

Goldberg dsg at mbunix.mitre.org
Fri Aug 24 22:12:50 AEST 1990


In article <1217 at psych.stanford.edu> connie at psych.Stanford.EDU (Constance Stillinger) writes:

> Are there other login programs around that are compatible with ultrix
> (ds3100, risc ultrix 3.1) -- I'm especially interested in finding a
> program that will somehow record *attempted* logins and where they came
> from.  Wtmp only records the successful ones.

Failed login attempts are recorded in syslog.  Unfortunately, you need
source to get them to tell you where they came from (at least as of
Ultrix 3.1 - haven't seen 4.0 yet).  We modified the source to tell us
where the login came from as well - it's a very simple fix - you just
have the syslog call put in the ut_host element of the utmp struct or,
if that's NULL (say on a dial up line, or a direct connect, or through
some sort of switch), the word "local".  You might want to take a look
at the BSD source.  I'm pretty certain it's available by anonymous ftp
from uunet.uu.net, but I can't connect there right now to make sure.
As I recall, the Ultrix source isn't too far removed from it.

> 
> Also, is there any decently detailed documentation out there about what
> login actually does?

Other than the source, I haven't seen anything.
--
Dave Goldberg                     UNIX Systems Programmer/Administrator
The Mitre Corporation   MS B020   Bedford, MA 01730        617-271-2460
Domain: dsg at mbunix.mitre.org      UUCP: linus!mbunix!dsg 



More information about the Comp.unix.ultrix mailing list