Resetting WordPress passwds
To reset a wordpress password, first generate the hash:
perl -e 'use Digest::MD5(md5_hex);print md5_hex("the_password"),"n";'
then update the password in the database:
mysql
mysql>select * from wp_users;
mysql>update wp_users set user_pass='the_hash_string' where ID=xx;
mysql>exit