
Complete re-write. This version will be easier
to maintain and less likely to break. Turns out that in
addition to being cleaner, the script runs about 5 times faster
because we open many fewer remote pipes.

An example of what was modified:

To create a user in the old version:
	- open up a local file
	- dynamically generate a script of chpass calls for
		new user accounts and dump into above file
	- scp over the file
	- source it remotely via ssh

And now:
	- ssh pw
	- ssh chpass (turns out i couldn't use dave's usermod
	   example because usermod takes an unencrypted password)

-kw

nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome