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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Reply-To: "Mike Ingram" From: "Mike Ingram" Newsgroups: comp.unix.tru64 References: <469f205c$0$12819$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <1184953743.787038.166210@r34g2000hsd.googlegroups.com> Subject: Re: tracking failed login Date: Sat, 21 Jul 2007 21:31:26 +1000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original Message-ID: <46a1ee8e$0$12835$5a62ac22@per-qv1-newsreader-01.iinet.net.au> NNTP-Posting-Host: 203.214.130.206 X-Trace: 1185017486 per-qv1-newsreader-01.iinet.net.au 12835 203.214.130.206 Xref: g2news1.google.com comp.unix.tru64:1016 "JLPARSEC" wrote in message news:1184953743.787038.166210@r34g2000hsd.googlegroups.com... > 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 > Many thanks John - this is a great pointer and hopefully it won't be long before I track down the "problem". Cheers.