in reply to Re: Submitting password changes to external program
in thread Submitting password changes to external program

Does this mean that /dev/tty gets re-opened by passwd and such programs after I redirect STDOUT to /dev/tty?

  • Comment on Re^2: Submitting password changes to external program

Replies are listed 'Best First'.
Re^3: Submitting password changes to external program
by Fletch (Bishop) on Dec 09, 2005 at 14:48 UTC

    Yes, passwd ignores its STDIN and opens /dev/tty to read the password from.