From owner-freebsd-questions Tue Jun 5 14:51:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail16.sdc1.sfba.home.com (femail16.sdc1.sfba.home.com [24.0.95.143]) by hub.freebsd.org (Postfix) with ESMTP id 60B6A37B405 for ; Tue, 5 Jun 2001 14:51:18 -0700 (PDT) (envelope-from msoulier@storm.ca) Received: from tigger ([24.114.252.76]) by femail16.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010605215117.EBBB22979.femail16.sdc1.sfba.home.com@tigger> for ; Tue, 5 Jun 2001 14:51:17 -0700 Received: from msoulier by tigger with local (Exim 3.22 #1 (Debian)) id 157Oje-00036U-00 for ; Tue, 05 Jun 2001 17:51:34 -0400 Date: Tue, 5 Jun 2001 17:51:34 -0400 To: freebsd-questions@FreeBSD.ORG Subject: Re: wtmp is HUGE Message-ID: <20010605175134.Q24480@storm.ca> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5xr6Gr0irOxp3+3c" Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: ; from ryan@sasknow.com on Tue, Jun 05, 2001 at 09:23:36AM -0600 X-Mailer: Mutt-1.3.17i (Debian/GNU Linux 2.4.4-686) From: "Michael P. Soulier" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 =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