delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/09/23:03:21

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: ssh/telnet
Date: Mon, 09 Dec 2002 20:01:25 -0800
Lines: 27
Message-ID: <3DF56715.4040503@Salira.com>
References: <000b01c29ca0$59749c30$abf9a8c0 AT xypoint DOT com> <3DF112B1 DOT 9090302 AT Salira DOT com> <015d01c29d7d$2685a200$0a00a8c0 AT xypoint DOT com> <3DF140A9 DOT 20704 AT Salira DOT com> <019c01c29d8c$0b0c6860$0a00a8c0 AT xypoint DOT com>
NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
X-Trace: main.gmane.org 1039492977 13697 206.184.204.2 (10 Dec 2002 04:02:57 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Tue, 10 Dec 2002 04:02:57 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en, ru, zh

Abraham Backus wrote:

> After checking things out a little more, it looks like "last logged 
> in" type
> of data is in your wtmp database, which on my system is /var/log/wtmp. 
> This
> appears to be a log/history of past logins. To view the data in here, try
> the following command:
> $ who /var/log/wtmp

Well who didn't use to work all that good in eariler versions of Cygwin 
but appears to be working better now. Here's what I get:

who /var/log/wtmp | tail 
Andrew   tty4     Dec  9 15:12
Andrew   ftp1828  Dec  9 15:19
Andrew   ftp3884  Dec  9 15:20
Andrew   ftp2520  Dec  9 15:23
ftp      ftp3896  Dec  9 16:11
ftp      ftp4068  Dec  9 16:11
Andrew   tty4     Dec  9 18:19
Andrew   tty5     Dec  9 18:19
Andrew   tty4     Dec  9 18:40
Andrew   tty5     Dec  9 20:01

So I would expect that the last login should say something liek Dec 9!




--
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