From owner-freebsd-questions@FreeBSD.ORG Mon Dec 4 16:59:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5D8A16A412 for ; Mon, 4 Dec 2006 16:59:27 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FC8B43CAA for ; Mon, 4 Dec 2006 16:58:51 +0000 (GMT) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1GrHA4-00068n-7W for freebsd-questions@freebsd.org; Mon, 04 Dec 2006 16:59:24 +0000 Received: from esperance.zetnet.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.13.8/8.13.8/Debian-2) with SMTP id kB4GxNQV004877 for ; Mon, 4 Dec 2006 16:59:23 GMT Received: (qmail 73278 invoked by uid 1001); 4 Dec 2006 16:59:18 -0000 From: "Frank Shute" Date: Mon, 4 Dec 2006 16:59:18 +0000 To: "DeadMan Xia ...." Message-ID: <20061204165918.GA59802@melon.esperance-linux.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.2-RC1 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (zetnet.co.uk [194.247.46.1]); Mon, 04 Dec 2006 16:59:24 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: unable to Check wtmp file contents for last month. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 16:59:27 -0000 On Mon, Dec 04, 2006 at 03:51:16PM +0500, DeadMan Xia .... wrote: > > Hello Every1, > > well i m using FreeBSD 6.0 with qmail. i usually used to take backups > remotely. > > i want to check the content of wtmp files for last month which was > overwritten by new wtmp file of current month. > Any body help me out regarding this > > Regards,,, What does: # ls -al /var/log | grep wtmp look like? What does: # cat /etc/newsyslog.conf | grep wtmp look like? I run qmail and have logs going back 4 months (newsyslog rotates them once a month). -- Frank echo "f r a n k @ e s p e r a n c e - l i n u x . c o . u k" | sed 's/ //g' --->PGP keyID: 0x10BD6F4B<---