From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id E39342F16A for ; Thu, 4 Jan 2001 18:17:56 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f04NHun23184 for axp-list@listman.redhat.com; Thu, 4 Jan 2001 18:17:56 -0500 Received: from max.phys.uu.nl (max.phys.uu.nl [131.211.32.73]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f04NHtD23176 for ; Thu, 4 Jan 2001 18:17:56 -0500 Received: from itpuu.phys.uu.nl (itpuu.phys.uu.nl [131.211.32.67]) by max.phys.uu.nl (8.9.3/8.9.3/hjm) with ESMTP id AAA25786 for ; Fri, 5 Jan 2001 00:17:50 +0100 (MET) Date: Fri, 5 Jan 2001 00:17:49 +0100 (MET) From: Reinier Bikker To: Subject: Re: How to clean lastlog In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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 }