HELP with setting passwords.

From: Troy Bull <bull_at_storm.simpson.edu>
Date: Fri, 7 Jun 1996 11:32:44 -0500

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT