Subject: lib/10466: getpass() without a /dev/tty
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 06/28/2000 01:30:11
>Synopsis: getpass() without a /dev/tty
>Arrival-Date: Wed Jun 28 01:31:00 PDT 2000
>Originator: Tomas Pihl
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.