Re: Cron: daemon.log grep mail to root

1999-10-01 Thread Mark Brown
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:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgpYFIFNIvRPF.pgp
Description: PGP signature


Cron: daemon.log grep mail to root

1999-09-30 Thread bwarsing



Hi,
I'm a newbie, butI 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.
Thanks,
bw.


Re: Cron: daemon.log grep mail to root

1999-09-30 Thread Seth R Arnold
The TrinityOS document has many good ideas in it, including cron stuff -- it
is based on slackware, but you should be able to adapt parts of it without
too much trouble. :)

On Wed, Sep 29, 1999 at 04:03:33PM -0700, bwarsing wrote:
 Hi,
 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.
 Thanks,
 bw.

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!