Mailing List Archive


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

Re: [tlug] cron+pam syslogs



Quoth Botond Botyanszki (Sun 2003-05-18 11:48:33PM +0900):

> I have been googling around and looked into various docs but haven't yet
> found a solution.
> I have some cron jobs installed into /etc/cron.d. Some of these run pretty
> frequently, and the following syslogs by pam are getting annoying. Is
> there a way to disable these? Of course I only want to disable the cron
> related ones. 
> 
> May 18 23:00:01 localhost cron(pam_unix)[1071]: session opened for user
> mail by (uid=0)
> May 18 23:00:01 localhost cron(pam_unix)[1072]: session opened for user
> root by (uid=0)

One solution would be to switch to syslog-ng and add a line in your config
file that would throw away the offending entries. 

You can grab syslog-ng from here:

http://www.balabit.com/downloads/syslog-ng/1.6/src/syslog-ng-1.6.0rc3.tar.gz

My own syslog-ng Quick-N-Dirty Guide(TM) might be of some use, as well:

http://www.jmglov.net/docs/qnd-syslog-ng

-- 
Josh Glover <jmglov@example.com>

Associate Systems Administrator
INCOGEN, Inc.
http://www.incogen.com/

GPG keyID 0x62386967 (7479 1A7A 46E6 041D 67AE  2546 A867 DBB1 6238 6967)
gpg --keyserver pgp.mit.edu --recv-keys 62386967

Attachment: pgp00050.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links