Subject: lib/10466: getpass() without a /dev/tty
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/28/2000 01:30:11
>Number:         10466
>Category:       lib
>Synopsis:       getpass() without a /dev/tty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 28 01:31:00 PDT 2000
>Originator:     Tomas Pihl
>Release:        1.4.1

When trying to login without having a /dev/tty character device,
it's not possible to login. Doesn't even get the "Password:" prompt. 
Checked the source for getpass and saw the device is opened with "w+",
ie. create the file if it doesn't exist. Shouldn't this be "r+" so
that you actually can login without having the /dev/tty? Thats what 
the man-page for getpass() says at least.

Everything is probably just fine. I just wanted to bring it up.