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

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

  • Next message: Stephen Tait: "Re: MP3 recording and editing"
    Date: Mon, 13 Sep 2004 10:54:01 GMT
    To: debian-user@lists.debian.org
    
    

    On Monday 13 September 2004 10:40, Lukas Ruf wrote:

    >> Adam Funk <a24061@yahoo.com> [2004-09-13 11:06]:
    >>
    >> 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.
    >>
    >
    > do you have the package 'logrotate'?

    Yes but...

    > If so, see /etc/logrotate.conf
    > and /etc/logrotate.d/

    I can't find any references to auth.log in those config files, or in the
    logrotate status file. (More details are in my response to Andreas
    Janssen's post.)

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

  • Next message: Stephen Tait: "Re: MP3 recording and editing"

    Relevant Pages

    • Re: What controls the rotation of "/var/log/auth.log"?
      ... Adam Funk wrote: ... > but I want to add to the rotation procedure a script to mail me a log ... logrotate is called by the cron daemon. ...
      (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: 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
      ... >> 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: 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)