How to stop crond logging to syslog?

Terry Polzin fox3ec208 at wideopenwest.com
Fri Feb 25 18:27:52 UTC 2005


On Friday 25 February 2005 12:56, Jess Anderson wrote:
> Every time cron wakes up, it logs authentication (PAM)
> actions to syslog. Not especially useful for a one-user
> (plus root) system, these messages mostly fill up space:
>
> Feb 25 11:21:01 seth crond(pam_unix)[4381]: session opened for user
> anderson by (uid=0) Feb 25 11:21:02 seth crond(pam_unix)[4381]: session
> closed for user anderson Feb 25 11:25:01 seth crond(pam_unix)[4396]:
> session opened for user root by (uid=0) Feb 25 11:25:01 seth
> crond(pam_unix)[4396]: session closed for user root Feb 25 11:27:01 seth
> crond(pam_unix)[4454]: session opened for user anderson by (uid=0) Feb 25
> 11:27:02 seth crond(pam_unix)[4454]: session closed for user anderson Feb
> 25 11:30:01 seth crond(pam_unix)[4497]: session opened for user root by
> (uid=0) Feb 25 11:30:01 seth crond(pam_unix)[4500]: session opened for user
> root by (uid=0) Feb 25 11:30:01 seth crond(pam_unix)[4497]: session closed
> for user root Feb 25 11:30:01 seth crond(pam_unix)[4500]: session closed
> for user root
>
> As far as I can see this logging is compiled in, rather than
> being controlled by /etc/syslog.conf. Of maybe (entirely
> possible) I'm confused. The man pages don't mention options
> or other alternatives, apparently.
>
> Suggestions welcome.
>
> --
> [] Hindsight is an exact science.
> [] -- (Anonymous)
> --
> *  Copyright 2005 Jess Anderson
> *  www.jessanderson.org  *  anderson at wisc.edu
> *  Window Maker Themes: www.jessanderson.org/wmthemes
I'd take a closer look at /etc/syslog.conf, mine has the following lines in 
it.

# Log cron stuff
cron.*                                                  /var/log/cron


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050225/996c8393/attachment-0001.sig>


More information about the fedora-list mailing list