Looks like I'll need a script to do this same thing, as well, I'm seeing. I found one thing that doesn't work.
passwd < [file name]
I'm trying to do this for another similar reason as you guys. I'll check out that man page too. It might work for me.