From: "Mike Ingram" <mike.ingram@iinet.net.au>
Subject: Re: tracking failed login
Date: Sat, 21 Jul 2007 21:31:26 +1000 [thread overview]
Message-ID: <46a1ee8e$0$12835$5a62ac22@per-qv1-newsreader-01.iinet.net.au> (raw)
In-Reply-To: 1184953743.787038.166210@r34g2000hsd.googlegroups.com
"JLPARSEC" <jlanier@parsec.com> wrote in message
news:1184953743.787038.166210@r34g2000hsd.googlegroups.com...
> On Jul 19, 2:27 am, "Mike Ingram" <mike.ing...@iinet.net.au> 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.
prev parent reply other threads:[~2007-07-21 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 8:27 tracking failed login Mike Ingram
2007-07-20 17:49 ` JLPARSEC
2007-07-21 11:31 ` Mike Ingram [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox