Subject: Re: bin/30295: getty accepts too few letters after username prompt
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 05/21/2005 17:29:02
The following reply was made to PR bin/30295; it has been noted by GNATS.
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Cc:
Subject: Re: bin/30295: getty accepts too few letters after username prompt
Date: Sat, 21 May 2005 13:28:29 -0400
On May 21, 3:11pm, wiz@NetBSD.org (Thomas Klausner) wrote:
-- Subject: bin/30295: getty accepts too few letters after username prompt
| >Number: 30295
| >Category: bin
| >Synopsis: getty accepts too few letters after username prompt
| >Confidential: no
| >Severity: serious
| >Priority: medium
| >Responsible: bin-bug-people
| >State: open
| >Class: sw-bug
| >Submitter-Id: net
| >Arrival-Date: Sat May 21 15:11:00 +0000 2005
| >Originator: Thomas Klausner
| >Release: NetBSD 3.99.3/i386
| >Organization:
|
| >Environment:
|
|
| >Description:
| When entering a username at the console, getty only accepts the first 16 letters
| and then automatically switches to the password prompt (no return needed).
|
| It should not do this for at least these reasons:
| . usernames are allowed to be longer than 16 characters
| . there was no return
| . login doesn't do it this way
I will argue otherwise:
. usernames can only go up to LOGIN_MAX, which is 16.
. this has been the traditional behavior and it is done on purpose.
It can be changed to silently ignore input, but nobody has complained
until now.
. most other unixes do it this way.
christos