From: Paul Szabo <psz@maths.usyd.edu.au>
To: Daniel Berger <berger@dewey.soe.berkeley.edu>
Subject: Re: trimming wtmp
Date: Tue, 14 Jan 2003 11:12:06 +1100 [thread overview]
Message-ID: <3E2355D6.794B@maths.usyd.edu.au> (raw)
In-Reply-To: BERGER.03Jan13120632@dewey.soe.berkeley.edu
Daniel Berger wrote:
> Is there a way to trim wtmp? Mine goes back years and has gotten huge.
What we do, yearly, is (at a quiet time):
cp -ip /usr/adm/wtmp /usr/adm/wtmp.2002
echo -n '' > /usr/adm/wtmp
so the system has a nice, small (empty) file to fill up again.
--
Paul Szabo - psz@maths.usyd.edu.au http://www.maths.usyd.edu.au:8000/u/psz/
School of Mathematics and Statistics University of Sydney 2006 Australia
next prev parent reply other threads:[~2003-01-14 0:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-13 20:06 trimming wtmp Daniel Berger
2003-01-14 0:12 ` Paul Szabo [this message]
2003-01-15 4:28 ` Nico Kadel-Garcia
2003-01-15 4:42 ` Stuart Fuller
2003-01-15 14:36 ` Nico Kadel-Garcia
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox