Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 00:21:11 -0800
From:      "Crist J . Clark" <cjc@FreeBSD.ORG>
To:        David Hill <lists@phobia.ms>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: sftp and lastlog
Message-ID:  <20011218002111.L19170@blossom.cjclark.org>
In-Reply-To: <20011217205559.4c8cd2c3.lists@phobia.ms>; from lists@phobia.ms on Mon, Dec 17, 2001 at 08:55:59PM %2B0000
References:  <20011217205559.4c8cd2c3.lists@phobia.ms>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011218002111.L19170>