From owner-freebsd-current Tue Dec 18 0:21:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 013B337B41C for ; Tue, 18 Dec 2001 00:21:26 -0800 (PST) Received: from dialup-209.245.140.152.dial1.sanjose1.level3.net ([209.245.140.152] helo=blossom.cjclark.org) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16GFV1-0004qd-00; Tue, 18 Dec 2001 00:21:20 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fBI8LCT22021; Tue, 18 Dec 2001 00:21:12 -0800 (PST) (envelope-from cjc) Date: Tue, 18 Dec 2001 00:21:11 -0800 From: "Crist J . Clark" To: David Hill Cc: freebsd-current@FreeBSD.ORG Subject: Re: sftp and lastlog Message-ID: <20011218002111.L19170@blossom.cjclark.org> References: <20011217205559.4c8cd2c3.lists@phobia.ms> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011217205559.4c8cd2c3.lists@phobia.ms>; from lists@phobia.ms on Mon, Dec 17, 2001 at 08:55:59PM +0000 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 17, 2001 at 08:55:59PM +0000, David Hill wrote: > Hello - > Currently, if a user logs in using sftp, it does not log that user to the lastlog. In my opinion, I think it should log the connection. > > Is this how it is supposed to be? Yes. You only see an entry in last(1) when there is tty allocation. For example, try, $ ssh -T host And have a look at the last(8) on host. -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message