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
[email protected]:/usr/obj/usr/src/sys/GENERIC i386
I suppose this is a getpass() problem ?
Regards,
Cyrille Lefevre
--
mailto:[email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"