delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/05/16:23:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 5 Jan 2002 22:22:46 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: login 1.4-2 LASTLOG file mismatch
Message-ID: <20020105222246.S27340@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000701c19567$6df7a1c0$58995b8f AT irngtx DOT tel DOT gte DOT com>
Mime-Version: 1.0
In-Reply-To: <000701c19567$6df7a1c0$58995b8f@irngtx.tel.gte.com>
User-Agent: Mutt/1.3.22.1i

On Fri, Jan 04, 2002 at 03:33:18PM -0600, Joshua wrote:
>     All,
> 
>     I think I've found a small bug in the login program code versus the man
> page regarding the last login feature.  The man page indicates that the file
> necessary for storing the last login information is /var/log/lastlog, and
> this file was actually created with zero length automatically.  But the code
> references the file location as /usr/adm/lastlog, which is not created
> automatically.

Thanks for the hint.  I've uploaded a new version of login which uses
the correct /var/log/lastlog file.

>     When I created a zero length file /usr/adm/lastlog, the login program
> now shows the last login date, time, and source.  Now, after the first use
> of the /usr/adm/lastlog file, it's size grew to 3,048,420 bytes!  What's in
> that file?  Is that normal?

Weird.  Mine doesn't grow beyond 138276 bytes.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019