On Wed, Sep 2, 2009 at 10:03, Dan Nelson<dnel...@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. 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 > dnel...@allantgroup.com
That's exactly the clue I needed. Thanks, Dan. I'm looking at 'man newsyslog.conf' right now. Kurt _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"