From: bull () storm ! simpson ! edu (Troy Bull)
To: tru64-unix-managers
Subject: HELP with setting passwords.
Date: Fri, 07 Jun 1996 16:32:44 +0000 [thread overview]
Message-ID: <96076333621251.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1996-06-07 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox