[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron: daemon.log grep & mail to root



On Wed, Sep 29, 1999 at 04:03:33PM -0700, bwarsing wrote:

[Please wrap your lines at 80 columns and put a blank line between
paragraphs - it makes your mail much more legible and easier to reply to]

> I'm a newbie, but I need to set up cron to grep the auth attempts from /var/log/daemon.log and mail me (root) the results daily.  Can anyone suggest a means of doing this?  As it stands, it only logs weekly.  As well, if there is anyone who can point me to some good info on using cron effectively, I would appreciate it.

The logcheck program contains a utility that does the appropriate magic
and is pretty neat itself.  Unfortunately it's not packaged (although
someone said they would make a package just recently), I don't know the
web site and the author has neglected to include it in the distribution.
Searching on http://www.securityfocus.com/ will turn it up, though -
look at free tools then intrusion detection IIRC.

-- 
Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/

Attachment: pgpGwVq_mQlp3.pgp
Description: PGP signature


Reply to: