NetBSD Problem Report #377
From gnats Tue Aug 2 16:13:27 1994
Received: from gandalf.bbb.no (root@gandalf.bbb.no [193.156.26.194]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id QAA26326 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 2 Aug 1994 16:13:13 -0700
Message-Id: <199408022313.BAA08046@gandalf.bbb.no>
Date: Wed, 3 Aug 1994 01:13:40 +0200
From: Thorsten Lockert <tholo@SigmaSoft.COM>
Reply-To: tholo@SigmaSoft.COM
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: login(1) checks tty name to determine if it is a dialup
X-Send-Pr-Version: 3.2
>Number: 377
>Category: bin
>Synopsis: login(1) checks tty name to determine if login is from dialup
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 02 16:20:06 +0000 1994
>Closed-Date: Wed Aug 03 10:04:30 +0000 1994
>Last-Modified:
>Originator: Thorsten Lockert
>Release: current
>Organization:
SigmaSoft, Th. Lockert
>Environment:
System: NetBSD gandalf.bbb.no 1.0-ALPHA NetBSD 1.0-ALPHA (GANDALF) #2: Sun Jul 24 18:47:54 MET DST 1994 tholo@gandalf.bbb.no:/usr/src/sys/arch/i386/compile/GANDALF i386
>Description:
In login(1) there is code to syslog when a login is done through
a dialup tty. The check it performs looks like this:
if (tty[sizeof("tty")-1] == 'd')
syslog(LOG_INFO, "DIALUP %s, %s", tty, pwd->pw_name);
>How-To-Repeat:
Read the code of login(1)
>Fix:
One fix might be to add an extra flag in ttys(5) to indicate that
some tty is a dialup, thus removing the dependency on such ttys to
be named "ttydX".
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: deraadt
State-Changed-When: Wed Aug 3 03:04:30 PDT 1994
State-Changed-Why:
the dialup tty hack is pretty silly. such a feature is probably
not required, if it was desirable it could be added on a site-to-site
basis by changing hte sources. in any case, it is probably more important to
syslog() rlogin/telnet sessions than dialup sessions.
so.. the dialup hack has just been deleted.
>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.