I've used this snippet to change passwords from the command line before. It only does one at a time, but it shouldn't be too hard to create a script to run it for each user:
perl -e "use esmith::util;esmith::util::setUserPassword( '<UserName>', '<Password>' );"
/sbin/e-smith/signal-event password-modify <UserName>