Re: What controls the rotation of "/var/log/auth.log"?

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 09/13/04

  • Next message: pir aa: "Re: IDE Bus rescan"
    To: debian-user@lists.debian.org
    Date: Mon, 13 Sep 2004 11:26:29 +0200
    
    

    Hello

    Adam Funk (<a24061@yahoo.com>) wrote:

    > What causes /var/log/auth.log to be rotated?
    >
    > `grep -R auth.log /etc/` lists only the /etc/syslog.conf file entry to
    > produce the auth.log file. It *is* being rotated weekly on my system,
    > but I want to add to the rotation procedure a script to mail me a log
    > analysis.

    logrotate is called by the cron daemon. Take a look
    at /etc/cron.daily/logrotate.

    best regards
            Andreas Janssen

    -- 
    Andreas Janssen <andreas.janssen@bigfoot.com>
    PGP-Key-ID: 0xDC801674 ICQ #17079270
    Registered Linux User #267976
    http://www.andreas-janssen.de/debian-tipps.html
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: pir aa: "Re: IDE Bus rescan"

    Relevant Pages

    • Re: What controls the rotation of "/var/log/auth.log"?
      ... but I want to add to the rotation procedure a script to mail ... > do you have the package 'logrotate'? ... I can't find any references to auth.log in those config files, ...
      (Debian-User)
    • Re: What controls the rotation of "/var/log/auth.log"?
      ... but I want to add to the rotation procedure a script to mail ... I didn't make it clear that I already know about logrotate. ... the wildcards in the config files do not catch ...
      (Debian-User)
    • Re: Size of wtmp files
      ... >> SuSE 7.2 runs cron.daily, which among other things, rotates ... Not using logrotate - suse 7.2 simply used a script. ... an attacker has full reign to edit the log files with impunity. ...
      (comp.os.linux.misc)
    • Re: logrotate error
      ... logrotate -bash-3.00# logrotate -f logrotate.conf error: ... running script with arg /var/log/servicelog: " /bin/killall -s HUP ntpd; ... If you have not used strace before, its output is voluminous enouhg to bring ... to see what they do when they receive signals. ...
      (comp.os.linux.setup)
    • Re: Size of wtmp files
      ... > wtmp file. ... > truncated, then I have to use a somewhat clumsy script to zcat the files, ... Yeah, I've got to repair my ignorance of suse real soon, or I would ... Didn't really occur to me that logrotate ...
      (comp.os.linux.misc)