Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 01:56:51 +0100
From:      Cyrille Lefevre <cyrille.lefevre-lists@laposte.net>
To:        freebsd-stable@freebsd.org
Subject:   su password prompt ti stdout instead of /dev/tty
Message-ID:  <4B5CEC53.3090402@laposte.net>

next in thread | raw e-mail | index | archive | help

Hi,

su password prompt is displayed to *stdout* instead of */dev/tty*.

# su user
$ su root -c date > /tmp/date 2>&1
(nothing displayed)
$ cat /tmp/date
Password:su: Sorry
$ uname -a
FreeBSD freebsd8.my.domain 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 
21 15:48:17 UTC 2009 
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I suppose this is a getpass() problem ?

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5CEC53.3090402>