* batch of passwords
@ 1999-09-15 23:39 don
0 siblings, 0 replies; only message in thread
From: don @ 1999-09-15 23:39 UTC (permalink / raw)
To: tru64-unix-managers
I need to add about 1500 new accounts to a new system which is easy
enough to do using the useradd command. I'll just make a shell script
with all the info in it and run it.
The question I have is on how to set 1500 passwords without actually
typing them in by hand. Is there a way to set a password using a
command line argument or some way to pipe in to the passwd command.
I tried "passwd < word.txt"
Where word.txt held a password on two separate lines but I still was
prompted. I can't get passwd to accept anything from the standard
input.
Any ideas would be greatly appreciated.
--
Don H. Olive, Physics Department don@campbellsvil.edu
Campbellsville University http://www2.campbellsvil.edu/~don
UPO 1265, One University Drive +1.270.789.5243 voice/+1.270.789.5042 fax
Campbellsville KY, 42718 USA PGP: finger don@cygnus.campbellsvil.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-09-15 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-15 23:39 batch of passwords don
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox