Subject: bin/140: getty should use getcap routines
To: None <gnats-admin>
From: Chris G. Demetriou <cgd>
List: netbsd-bugs
Date: 02/27/1994 15:05:02
>Number:         140
>Category:       bin
>Synopsis:       getty should use getcap(3) routines, for consistency
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 27 15:05:01 1994
>Originator:     Chris G. Demetriou
>Organization:
Kernel Hackers 'r' Us
>Release:        
>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.
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------