Yes, passwd ignores its STDIN and opens /dev/tty to read the password from.
In reply to Re^3: Submitting password changes to external program
by Fletch
in thread Submitting password changes to external program
by Dietz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |