Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2001 17:51:34 -0400
From:      "Michael P. Soulier" <msoulier@storm.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: wtmp is HUGE
Message-ID:  <20010605175134.Q24480@storm.ca>
In-Reply-To: <Pine.BSF.4.21.0106050915320.76346-100000@ren.sasknow.com>; from ryan@sasknow.com on Tue, Jun 05, 2001 at 09:23:36AM -0600
References:  <Pine.BSF.4.21.0106050915320.76346-100000@ren.sasknow.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Jun 05, 2001 at 09:23:36AM -0600, Ryan Thompson wrote:
> 
> I'll worry about fixing the automated process... Can somebody tell me how
> to purge these entries out of wtmp (by username)? Or do I have to nuke the
> whole month of June to date?

    Can you just rotate the file? I have cronjobs running that rotate
/var/log/wtmp every month. 

    Mike

-- 
Michael P. Soulier <msoulier@storm.ca> 
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead." -- RFC 1925

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7HVRmKGqCc1vIvggRAhIoAJ9Y6Sz3Ot64GJe9NVHNCkktLXnNyQCgj4Rg
1NxBqB/oiI0TnDOS6HZTBT0=
=xmNj
-----END PGP SIGNATURE-----
help

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