* tracking failed login
@ 2007-07-19 8:27 Mike Ingram
2007-07-20 17:49 ` JLPARSEC
0 siblings, 1 reply; 3+ messages in thread
From: Mike Ingram @ 2007-07-19 8:27 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tracking failed login
2007-07-19 8:27 tracking failed login Mike Ingram
@ 2007-07-20 17:49 ` JLPARSEC
2007-07-21 11:31 ` Mike Ingram
0 siblings, 1 reply; 3+ messages in thread
From: JLPARSEC @ 2007-07-20 17:49 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tracking failed login
2007-07-20 17:49 ` JLPARSEC
@ 2007-07-21 11:31 ` Mike Ingram
0 siblings, 0 replies; 3+ messages in thread
From: Mike Ingram @ 2007-07-21 11:31 UTC (permalink / raw)
"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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-21 11:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 8:27 tracking failed login Mike Ingram
2007-07-20 17:49 ` JLPARSEC
2007-07-21 11:31 ` Mike Ingram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox