Regarding SSH_ASKPASS

Gert Doering gert at greenie.muc.de
Tue Apr 13 02:21:02 EST 2004


Hi,

On Mon, Apr 12, 2004 at 06:13:12AM -0000, ttk2 at ciar.org wrote:
> only other way to get ssh_askpass() to get called is for 
> open(_PATH_TTY, O_RDWR) to fail.  But /dev/tty is a+rw in the 
> normal case.

/dev/tty can only be opened if the program has a controlling tty (which
might be false if called from a daemon, or from an X11 window manager,
etc.)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de




More information about the openssh-unix-dev mailing list