Re: Lots of crond syslog messages...why?

From: Alexander Dalloz (ad+lists_at_uni-x.org)
Date: 05/30/05

  • Next message: Alexander Dalloz: "Re: LCD monitor will not work"
    To: gdoris@rogers.com, For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Mon, 30 May 2005 18:26:08 +0200
    
    
    
    

    Am Mo, den 30.05.2005 schrieb Gerry Doris um 17:30:

    > Thanks for your reply. In hind sight I see that the messages weren't
    > errors but merely pam notices that root had started a process and then
    > that process had ended. As pointed out in the link you provided this is
    > new behaviour from the cron package used in FC2.

    The vixie-cron introduced with FC3 supports logging through PAM.

    > I was able to track these processes back to tasks being kicked off every
    > 5mins in cron. Matthew Miller suggested removing the pam session line for
    > cron but that didn't work for me. I ended up removing auth notifications
    > in syslog.conf. I'm not really happy with this solution but will use it
    > until I can figure out something better.

    Better not to suppress auth completely.

    Change /etc/syslog.conf:

    #*.info;mail.none;news.none;authpriv.none;cron.none
    /var/log/messages
    *.info;mail.none;news.none;authpriv.none;cron.none;auth.!=info
    /var/log/messages
     
    #The auth.info messages into a different log file.
    auth.info
    /var/log/auth.info

    service syslog restart

    You then have a separate log file with the cron caused auth loggings.

    Alexander

    -- 
    Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
    legal statement: http://www.uni-x.org/legal.html
    Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp 
    Serendipity 18:22:06 up 6 days, 16:59, load average: 0.16, 0.12, 0.12 
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Alexander Dalloz: "Re: LCD monitor will not work"

    Relevant Pages

    • SUMMARY: sar not working in Solaris 9 on V880 or V240
      ... On Darren Dunham's suggestion, I trussed ... the running cron pid and found that it was having pam troubles. ... Subject: UPDATE: sar not working in Solaris 9 on V880 or V240 ...
      (SunManagers)
    • Re: pam_timestamp_check and crond errors(?) in /var/log/messages
      ... den 11.11.2005 schrieb Daniel B. Thurman um 0:28: ... > be something involved with cron and pam? ... > were complaints of the same but saw no solutions or answers ...
      (Fedora)
    • Re: Force the the hell!
      ... But it likely does not support much of what Solaris expects of cron. ... (Such as properly using PAM, ...
      (comp.unix.solaris)
    • Re: sasl fails
      ... PAM here means you let PAM call system accounts, ... If you don't offer MD5 mechs because of your auth backend, ... > authentication failure: no secret in database ...
      (Fedora)
    • Re: passwordless root login
      ... |> Then the login program won't even ask for a password. ... |> simply edit its pam file. ... | working at some point--I think the pam stuff has changed a bit. ... appliation asks pam if the auth is valid, pam will say "no" if auth is ...
      (Debian-User)