Daily security report oddity...
kurt.buff at gmail.com
Wed Sep 2 17:43:39 UTC 2009
On Wed, Sep 2, 2009 at 10:03, Dan Nelson<dnelson at allantgroup.com> wrote:
> In the last episode (Sep 02), Kurt Buff said:
>> 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. Just edit /etc/newsyslog.conf and add
> a date check to the line for auth.log. The default is to roll it when it
> hits 100KB, but if you add something like $M1D0 to the "when" column it'll
> rotate it monthly as well.
> Dan Nelson
> dnelson at allantgroup.com
That's exactly the clue I needed. Thanks, Dan.
I'm looking at 'man newsyslog.conf' right now.
More information about the freebsd-questions