Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2011 04:40:14 GMT
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/158121: The "security run output" contains log entries which are a year old.
Message-ID:  <201106220440.p5M4eEHG052527@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/158121; it has been noted by GNATS.

From: Jaakko Heinonen <jh@FreeBSD.org>
To: Jesper Wallin <jesper@ifconfig.se>
Cc: bug-followup@FreeBSD.org
Subject: Re: misc/158121: The "security run output" contains log entries
 which are a year old.
Date: Wed, 22 Jun 2011 07:32:25 +0300

 On 2011-06-21, Jesper Wallin wrote:
 > The log entries in /var/log/auth.log does not contain the year.
 > Because of this, if you rarely logon to the machine (or for some other
 > reason doesn't manage to reach the 100K limit before newsyslog rotate
 > your auth.log) the "security run output" will send you a year old
 > logs. :-)
 
 > >Fix:
 > Make newsyslog rotate auth.log regardless of it's size or make somehow
 > make sshd/syslogd log the year as well.
 
 You can configure interval based rotation in /etc/newsyslog.conf . See
 the description for "when" field in newsyslog.conf(5) manual page.
 
 -- 
 Jaakko



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