From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,4e79bb2f3ee70672 X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!postnews.google.com!r34g2000hsd.googlegroups.com!not-for-mail From: JLPARSEC Newsgroups: comp.unix.tru64 Subject: Re: tracking failed login Date: Fri, 20 Jul 2007 10:49:03 -0700 Organization: http://groups.google.com Message-ID: <1184953743.787038.166210@r34g2000hsd.googlegroups.com> References: <469f205c$0$12819$5a62ac22@per-qv1-newsreader-01.iinet.net.au> NNTP-Posting-Host: 63.254.247.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1184953744 451 127.0.0.1 (20 Jul 2007 17:49:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Jul 2007 17:49:04 +0000 (UTC) In-Reply-To: <469f205c$0$12819$5a62ac22@per-qv1-newsreader-01.iinet.net.au> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: r34g2000hsd.googlegroups.com; posting-host=63.254.247.2; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news1.google.com comp.unix.tru64:1014 On Jul 19, 2:27 am, "Mike Ingram" wrote: > Hi All, > > Could someone please point me in the right direction regarding failed logins > on a 5.1a Tru64 system? > I find that a user account keeps expiring because of too many failed login > attempts, and I am trying to determine where these are coming from - IP > address or possibly a script. > I added the sialog file into /var/adm, and it records the failed login but > unfortunately no more info. > I looked at the auditing too, and unless I wasn't setting it up correctly, > it only gave me details of successful logins. > > Many thanks. Hello, I too have run into this behavior (due to ssh attacks) and I am able to see what's going on in EVM pretty well. There's a number of man pages on "evm" (man -k evm) and the various configurable options for it. Here is a script that I use to monitor the evm logs for certain events: -------------------------------------------------------------------------------------------------- # while true do echo "" echo "1. Print EVM events to stdout (the screen)." echo "2. Save EVM events to /tmp." echo "3. Exit script." echo "" echo "Enter choice here (1,2, or 3)-->\c" read choice if [[ $choice = "1" ]] then echo "" echo "Enter BEGINNING date/timestamp range using the stanza indicated (YYYY:MM:DD:HH:MM:SS)-->\c" read range echo "" echo "Here are the events for the date & time specified, please wait.." evmget -f "[since $range]" | evmshow -t "@timestamp @@" | more echo "" fi if [[ $choice = "2" ]] then echo "" echo "Enter BEGINNING date/timestamp range using the stanza indicated (YYYY:MM:DD:HH:MM:SS)-->\c" read range echo "" echo "Saving output to /tmp with the filename evm_`echo $range`.txt, please wait.." evmget -f "[since $range]" | evmshow -t "@timestamp @@">/tmp/evm_ $range.txt echo "" echo "Events have been saved in /tmp/evm_`echo $range`.txt" fi if [[ $choice = "3" ]] then echo "" echo "Exiting script.." echo "" exit 0 fi done #Done! Hope this helps, John Lanier PARSEC Group Email: jlanier@parsec.com AIM ID: JLparsec WWW: http://www.parsec.com