I need to automate the setting of all the passwords on the system.
How can I give the passwd program enough information so that it will not
prompt me.
What I want to do is write a script that will go through each user,
resseting the password to a random value.  I can do everything except
echo "$2\n$2\n"|passwd $1
still asks me to type it manually
Thanks in Aadvance
    \/     Troy Bull
^   o      Simpson College / Information Systems / Bird Enthusiast
 \///      Indianola, IA
 * *       
http://www.simpson.edu/~bull
Received on Fri Jun 07 1996 - 18:54:57 NZST