From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621251.tru64-unix-managers.marc@archive.invalid> From: bull () storm ! simpson ! edu (Troy Bull) Date: Fri, 07 Jun 1996 16:32:44 +0000 To: tru64-unix-managers Subject: HELP with setting passwords. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621251 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