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>

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

--5xr6Gr0irOxp3+3c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 05, 2001 at 09:23:36AM -0600, Ryan Thompson wrote:
>=20
> 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.=20

    Mike

--=20
Michael P. Soulier <msoulier@storm.ca>=20
"With sufficient thrust, pigs fly just fine. However, this is not necessari=
ly 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

--5xr6Gr0irOxp3+3c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----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-----

--5xr6Gr0irOxp3+3c--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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