From owner-cvs-all Wed Sep 25 13:22:20 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 7268837B401; Wed, 25 Sep 2002 13:22:19 -0700 (PDT) Date: Wed, 25 Sep 2002 13:22:19 -0700 From: Juli Mallett To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/openpam/lib openpam_ttyconv.c Message-ID: <20020925132219.B40592@FreeBSD.org> References: <200209252020.g8PKKDOU016695@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200209252020.g8PKKDOU016695@freefall.freebsd.org>; from jmallett@FreeBSD.org on Wed, Sep 25, 2002 at 01:20:13PM -0700 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Juli Mallett [ Data: 2002-09-25 ] [ Subjecte: cvs commit: src/contrib/openpam/lib openpam_ttyconv.c ] > jmallett 2002/09/25 13:20:13 PDT > > Modified files: > contrib/openpam/lib openpam_ttyconv.c > Log: > Because prompting is done in stdin, the message should go to stdout. This > un-fixes a major user-interaction bogon in -CURRENT sysinstall of setting > root's initial password. This is where the stderr terminal (ttyv1) prints the prompt, but reads it on the stdin terminal (ttyv0). Thus there is disconnect between the prompt and the read. I personally think OpenPAM provides us with the functionality to have our own dialog-based prompting, but I do not know if anyone will want to develop that :) -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message