From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072815908.tru64-unix-managers.marc@archive.invalid> From: Becki Kain Date: Mon, 06 Sep 1999 15:15:59 +0000 To: tru64-unix-managers Subject: {S} wtmp X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072815908 thanks for the quick answer from Owen Connolly : Hi Becki, The easiest way is to just - cat /dev/null > wtmp - this resets it to zero bytes without actually removing it completely, therefore it won't screw up the system accounting... ciao for now, ojc Becki Kain wrote: > how do you correctly get rid of a large wtmp file? move the old and touch > a new one? I just wanted to make certain before I screwed something up > > thanks > > beckers > > Becki Kain > beckers@furph.com > -- > furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice) > info@furph.com http://www.furph.com 734-513-7759 (FAX) -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Owen J Connolly Mobile: +353-86-8516664 Network Security Consultant Phone: +353-1-6760307 www.dataway.com Fax: +353-1-6760309 "Any sufficiently advanced technology is indistinguishable from magic..." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~