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

From: Adam Funk (a24061_at_yahoo.com)
Date: 09/13/04

  • Next message: Piotr Kopszak: "Gimp 1.2 and 2 together?"
    Date: Mon, 13 Sep 2004 12:28:47 GMT
    To: debian-user@lists.debian.org
    
    

    On Monday 13 September 2004 12:50, Florian Ernst wrote:

    > You mean it is rotated daily?
    >
    > | $ tail -n 11 /etc/cron.daily/sysklogd
    > | for LOG in `syslogd-listfiles --auth`
    > | do
    > | if [ -f $LOG ]; then
    > | chown root:adm $LOG
    > | chmod o-rwx $LOG
    > | fi
    > | done
    > |
    > | # Restart syslogd
    > | #
    > | /etc/init.d/sysklogd reload-or-restart > /dev/null
    > | $ /usr/sbin/syslogd-listfiles --auth
    > | /var/log/auth.log

    Thanks. I didn't that syslog had its own rotation scheme.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Piotr Kopszak: "Gimp 1.2 and 2 together?"