Xref: utzoo comp.sys.dec:3880 comp.unix.ultrix:4322 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!samsung!zaphod.mps.ohio-state.edu!mips!prls!philabs!linus!linus!mbunix!dsg From: dsg@mbunix.mitre.org (Goldberg) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: Re: And while we're talking about logins -- Message-ID: Date: 24 Aug 90 12:12:50 GMT References: <1217@psych.stanford.edu> Sender: usenet@linus.mitre.org Followup-To: comp.sys.dec Distribution: usa Organization: The Mitre Corp., Bedford, MA. Lines: 27 In-reply-to: connie@psych.Stanford.EDU's message of 22 Aug 90 22:00:29 GMT In article <1217@psych.stanford.edu> connie@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@mbunix.mitre.org UUCP: linus!mbunix!dsg