Re: su password prompt to stdout instead of /dev/tty

2010-02-23 Thread Jeremy Chadwick
On Wed, Feb 10, 2010 at 12:32:51AM +0100, Cyrille Lefevre wrote: > Jeremy Chadwick a écrit : > > > >OpenPAM is des@'s responsibility. Has anyone brought this up to him? > > still no answer from des@ ! any idea ? I don't know what's going on. He's around/active[1], but this must not be high on h

Re: su password prompt to stdout instead of /dev/tty

2010-02-09 Thread Cyrille Lefevre
Jeremy Chadwick a écrit : OpenPAM is des@'s responsibility. Has anyone brought this up to him? still no answer from des@ ! any idea ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net ___ freebsd-stable@freebsd.org mailing l

Re: su password prompt to stdout instead of /dev/tty

2010-01-29 Thread Jeremy Chadwick
On Fri, Jan 29, 2010 at 09:02:09AM +0100, Oliver Fromme wrote: > Cyrille Lefevre wrote: > > found it, the guilty is prompt() in > > src/contrib/openpam/lib/openpam_ttyconv.c and not getpass() as usual... > > Are you sure this affects su(1) only? > > > => fputs(msg, stdout); > > > > which s

Re: su password prompt to stdout instead of /dev/tty

2010-01-29 Thread Oliver Fromme
Cyrille Lefevre wrote: > found it, the guilty is prompt() in > src/contrib/openpam/lib/openpam_ttyconv.c and not getpass() as usual... Are you sure this affects su(1) only? > => fputs(msg, stdout); > > which should be, IMHO, something like : > > FILE *ttyp; > ttyp = fop

Re: su password prompt to stdout instead of /dev/tty

2010-01-28 Thread Cyrille Lefevre
Doug Barton a écrit : Has anyone checked what POSIX has to say about this? And does this issue affect more than just su? Hi, su isn't posix, not the susv4 way at least ! Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net ___

Re: su password prompt to stdout instead of /dev/tty

2010-01-28 Thread Doug Barton
Has anyone checked what POSIX has to say about this? And does this issue affect more than just su? Doug -- Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ Computers are useless. They can only give you an

Re: su password prompt to stdout instead of /dev/tty

2010-01-28 Thread Cyrille Lefevre
Cyrille Lefevre a écrit : sorry, repost to -standards w/ an s ! jhell a écrit : On Sun, 24 Jan 2010 21:57, glen.j.barber@ wrote: Cyrille Lefevre wrote: su password prompt is displayed to *stdout* instead of */dev/tty*. # su user $ su root -c date > /tmp/date 2>&1 (nothing displayed) $ c

Re: su password prompt to stdout instead of /dev/tty

2010-01-27 Thread Cyrille Lefevre
sorry, repost to -standards w/ an s ! jhell a écrit : On Sun, 24 Jan 2010 21:57, glen.j.barber@ wrote: Cyrille Lefevre wrote: 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: Sor