NetBSD Problem Report #140

From gnats  Sun Feb 27 15:04:39 1994
Received: from localhost (cgd@localhost) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) id PAA20412; Sun, 27 Feb 1994 15:04:39 -0800
Message-Id: <199402272304.PAA20412@sun-lamp.cs.berkeley.edu>
Date: Sun, 27 Feb 1994 15:04:39 -0800
From: "Chris G. Demetriou" <cgd>
Reply-To: cgd
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: getty should use getcap routines
X-Send-Pr-Version: 3.2

>Number:         140
>Category:       bin
>Synopsis:       getty should use getcap(3) routines, for consistency
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 27 15:05:01 +0000 1994
>Closed-Date:    Wed Mar 09 04:59:58 +0000 1994
>Last-Modified:  
>Originator:     Chris G. Demetriou
>Release:        
>Organization:
Kernel Hackers 'r' Us
>Environment:
System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP_AHBBT_NODDB#34 i386


>Description:
getty uses its own gettytab-getting routines, not libc's getcap
routines.  Because of this, its output is inconsistent with that
of telnetd; e.g. \: vs \c.  It should be upgraded to use the getcap(3)
routines.

>How-To-Repeat:
try a 'default' gettytab entry containing a \: in the login
banner.  look at the banner on console and logged in over the
network.

>Fix:
kill gettytab.c and replace necessary function calls.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: cgd 
State-Changed-When: Sun Feb 27 15:05:38 PST 1994 
State-Changed-Why:  
i filed it only so that i'd be forced to fix it; mine. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: cgd 
State-Changed-When: Tue Mar 8 20:59:58 PST 1994 
State-Changed-Why:  
i fixed getty to DTRT. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.