{S} wtmp

From: Becki Kain <beckers_at_josephus.furph.com>
Date: Mon, 06 Sep 1999 11:15:59 -0400 (EDT)

thanks for the quick answer from Owen Connolly <ojc_at_dataway.com>:


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_at_furph.com
> --
> furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice)
> info_at_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..."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Mon Sep 06 1999 - 15:19:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT