How to change WP password into database

I did it a few times but always made a search and dug WordPress code. So, just generate a new password: PHP -r ‘echo crypt(“new_wp_pass”) . “\n”;’ and update specified user in the table wp_users: UPDATE wp_users SET user_pass=’generated password hash’ where ID=’desire user ID’;

Read Me Leave comment

Check password quality with Perl

When you manage some serious system where users can change their passwords you’ll face with problem of quality of those passwords. There is a Perl module – Data::Password, which may do all work to check user passwords: length or the number of character groups. Also, it’s possible to make more complicated checking: the password does not contain the same chars repeatedly or ascending or descending […]

Read Me Leave comment