Password reset cheat list!
I don't often have to create admin accounts for sites, but when I do I always have to search for the command. So I am compiling a list of CLI commands to reset passwords across various platforms here.
Wordpress
Install wordpress CLI
If the WP CLI tool is not installed yet, then it can be installed quickly with:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
Create wordpress admin user
Now, navigate to the wordpress directory and run:
...
Magento2
Create magento 2 admin user
Now, navigate to the magento directory and run:
...