Subject: Re: insecurity report wtmpx and wtmp incorrect gid...
To: Gilles Gravier <Gilles@Gravier.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-users
Date: 02/24/2006 14:09:09
Am 24.02.2006 um 13:36 Uhr +0100 schrieb Gilles Gravier:
>/var/log/messages 644 10 250 * Z
>/var/log/wtmp 644 7 * 168 ZBN
>/var/log/wtmpx 644 7 * 168 ZBN
>/var/log/xferlog 640 7 250 * Z
>
>
>But I've modified the wtmp and wtmpx lines of /etc/mtree/set.etc to
>have gname=utmp instead of gname=wheel ... and will see tomorrow if
>it is fixed. :)
With the above settings, wtmp{,x} are rotated weekly, so you may have
to wait longer...
But you can force a rotation by running 'newsyslog -F' as root; see
man newsyslog(8).
hauke
--
/~\ The ASCII Ribbon Campaign Hauke Fath
\ / No HTML/RTF in email Institut für Nachrichtentechnik
X No Word docs in email TU Darmstadt
/ \ Respect for open standards Ruf +49-6151-16-3281