Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2009 10:43:36 -0700
From:      Kurt Buff <kurt.buff@gmail.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Mark Stapper <stark@mapper.nl>, freebsd-questions@freebsd.org
Subject:   Re: Daily security report oddity...
Message-ID:  <a9f4a3860909021043k487b3174vc1030978bc5065ef@mail.gmail.com>
In-Reply-To: <20090902170301.GE2855@dan.emsphone.com>
References:  <a9f4a3860909011556m4ceafe2drf93460842a64e99a@mail.gmail.com> <4A9E1D63.8030101@mapper.nl> <a9f4a3860909020954w710734a0id653adee080bc9d0@mail.gmail.com> <20090902170301.GE2855@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 2, 2009 at 10:03, Dan Nelson<dnelson@allantgroup.com> wrote:
> In the last episode (Sep 02), Kurt Buff said:
<snip>
>> Heh. Well, for me a very long time is more than a year, because
>> security patches for the OS will at some point mandate a reboot - and
>> usually in less than a year.
>>
>> I suppose there's a way to do auth log rotation automagically - would
>> that be sysutils/logrotate?
>
> The system already rotates auth.log. =C2=A0Just edit /etc/newsyslog.conf =
and add
> a date check to the line for auth.log. =C2=A0The default is to roll it wh=
en it
> hits 100KB, but if you add something like $M1D0 to the "when" column it'l=
l
> rotate it monthly as well.
>
> --
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Dan Nelson
> =C2=A0 =C2=A0 =C2=A0 =C2=A0dnelson@allantgroup.com

That's exactly the clue I needed. Thanks, Dan.

I'm looking at 'man newsyslog.conf' right now.

Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9f4a3860909021043k487b3174vc1030978bc5065ef>