NetBSD Problem Report #10466
Received: (qmail 24301 invoked from network); 28 Jun 2000 08:30:20 -0000
Message-Id: <200006280830.BAA10267@nbwww.isc.org>
Date: Wed, 28 Jun 2000 01:30:20 -0700 (PDT)
From: tomas.pihl@netinsight.net
Reply-To: tomas.pihl@netinsight.net
To: gnats-bugs@gnats.netbsd.org
Subject: getpass() without a /dev/tty
X-Send-Pr-Version: www-1.0
>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 08:31:00 +0000 2000
>Closed-Date:
>Last-Modified:
>Originator: Tomas Pihl
>Release: 1.4.1
>Organization:
>Environment:
>Description:
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.
/Tomas
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.