Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: JLPARSEC <jlanier@parsec.com>
Subject: Re: tracking failed login
Date: Fri, 20 Jul 2007 10:49:03 -0700	[thread overview]
Message-ID: <1184953743.787038.166210@r34g2000hsd.googlegroups.com> (raw)
In-Reply-To: <469f205c$0$12819$5a62ac22@per-qv1-newsreader-01.iinet.net.au>

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



  reply	other threads:[~2007-07-20 17:49 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 [this message]
2007-07-21 11:31   ` Mike Ingram
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