NetBSD Problem Report #12528
Received: (qmail 12216 invoked from network); 2 Apr 2001 19:53:03 -0000
Message-Id: <20010402195302.11F211110F@www.netbsd.org>
Date: Mon, 2 Apr 2001 12:53:02 -0700 (PDT)
From: anne@alcor.concordia.ca
Sender: nobody@netbsd.org
Reply-To: anne@alcor.concordia.ca
To: gnats-bugs@gnats.netbsd.org
Subject: sshd does not use ttyaction
X-Send-Pr-Version: www-1.0
>Number: 12528
>Category: bin
>Synopsis: sshd does not use ttyaction
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: mrg
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Apr 02 19:54:00 +0000 2001
>Closed-Date:
>Last-Modified: Sun Oct 08 21:48:07 +0000 2006
>Originator: Anne Bennett
>Release: 1.5
>Organization:
Concordia University
>Environment:
NetBSD eridani.concordia.ca 1.5 NetBSD 1.5 (ERIDANI) #1: Tue Mar 20 15:48:34 EST 2001 anne@eridani.concordia.ca:/big/sources/usr/src/sys/arch/i386/compile/ERIDANI i386
>Description:
/etc/ttyaction is a great idea; sshd should use it!
>How-To-Repeat:
Put something like this in /etc/ttyaction:
* login /usr/bin/logger -p auth.info login: ${USER} on ${TTY}
then ssh to the machine. Notice that the command (logger) is
not invoked.
>Fix:
No patch, sorry. :-(
>Release-Note:
>Audit-Trail:
From: gabriel rosenkoetter <gr@eclipsed.net>
To: anne@alcor.concordia.ca
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/12528: sshd does not use ttyaction
Date: Mon, 2 Apr 2001 17:54:33 -0400
On Mon, Apr 02, 2001 at 12:53:02PM -0700, anne@alcor.concordia.ca wrote:
> >Description:
> /etc/ttyaction is a great idea; sshd should use it!
> >How-To-Repeat:
> Put something like this in /etc/ttyaction:
> * login /usr/bin/logger -p auth.info login: ${USER} on ${TTY}
> then ssh to the machine. Notice that the command (logger) is
> not invoked.
> >Fix:
> No patch, sorry. :-(
Can't this be accomplished with the UseLogin flag in sshd.conf?
(login(1) being one of the processes which checks /etc/ttyaction on
login, having ssh use it means you get what you want.)
I'll grant that, seeing as telnetd has this functionality, adding it
to sshd would be nice (and also, the UseLogin setting is ignored on
command execution).
~ g r @ eclipsed.net
From: Anne Bennett <anne@alcor.concordia.ca>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: Re: bin/12528: sshd does not use ttyaction
Date: Tue, 03 Apr 2001 14:27:18 -0400
gabriel rosenkoetter <gr@eclipsed.net> writes:
>> /etc/ttyaction is a great idea; sshd should use it!
>
> Can't this be accomplished with the UseLogin flag in sshd.conf?
That flag does indeed have that effect for interactive sessions, but
as you later state:
> (and also, the UseLogin setting is ignored on command execution).
I can confirm that. Unfortunately, that makes it mostly useless for
my purposes. Oh, well, at least this version of ssh logs the
authenticated user and the provenance of the connection on the same
line, which is the most important thing! So I can't really complain.
> I'll grant that, seeing as telnetd has this functionality, adding it
> to sshd would be nice
Indeed. :-) It's a low priority, but it would be nice.
Anne.
--
Ms. Anne Bennett, Senior Analyst, IITS, Concordia University, Montreal H3G 1M8
anne@alcor.concordia.ca +1 514 848-7606
State-Changed-From-To: open->closed
State-Changed-By: elad@netbsd.org
State-Changed-When: Sun, 08 Oct 2006 18:55:43 +0000
State-Changed-Why:
not a netbsd issue, and openssh won't change in that regard. looking at the pr, this doesn't seem to be an issue worth keeping open in that case.
Responsible-Changed-From-To: bin-bug-people->mrg
Responsible-Changed-By: elad@netbsd.org
Responsible-Changed-When: Sun, 08 Oct 2006 21:48:07 +0000
Responsible-Changed-Why:
mrg asked to re-open
State-Changed-From-To: closed->open
State-Changed-By: elad@netbsd.org
State-Changed-When: Sun, 08 Oct 2006 21:48:07 +0000
State-Changed-Why:
mrg asked to re-open
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.