tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* HELP with setting passwords.
@ 1996-06-07 16:32 bull
  0 siblings, 0 replies; only message in thread
From: bull @ 1996-06-07 16:32 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-07 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-07 16:32 HELP with setting passwords bull

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox