From: Reinier Bikker <R.P.Bikker@phys.uu.nl>
To: <axp-list@redhat.com>
Subject: Re: How to clean lastlog
Date: Fri, 5 Jan 2001 00:17:49 +0100 (MET) [thread overview]
Message-ID: <Pine.OSF.4.31.0101050011590.20369-100000@itpuu.phys.uu.nl> (raw)
In-Reply-To: <Pine.LNX.4.10.10101041305390.24771-100000@asimov.lib.uaa.alaska.edu>
Logrotate should take care of that.
The snippet below has been in redhats /etc/logrotate.conf for ages, add
it to yours if you don't have it. Are you sure logrotate is run? Usually
"/usr/sbin/logrotate /etc/logrotate.conf" is run as a daily cron job.
Reinier.
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 666 root root
rotate 1
}
/var/log/lastlog {
monthly
create 666 root root
rotate 1
nocompress
}
next prev parent reply other threads:[~2001-01-04 23:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-04 18:39 How to clean lastlog Mohan
2001-01-04 22:08 ` Mike Tibor
2001-01-04 23:17 ` Reinier Bikker [this message]
2001-01-04 23:32 ` John Groseclose
2001-01-04 23:43 ` Reinier Bikker
-- strict thread matches above, loose matches on Subject: below --
2001-01-05 15:10 Deja User
2001-01-05 15:18 ` Rich Payne
2001-01-06 0:36 ` Phil
2001-01-06 13:46 ` Rich Payne
2001-01-06 17:26 ` PdminMinimi
2001-01-06 17:41 ` PdminMinimi
2001-01-06 0:36 Peter Petrakis
2001-01-06 4:27 ` Robby Griffin
2001-01-06 17:45 ` John Groseclose
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