Skip to content

Instantly share code, notes, and snippets.

@lemajes
Created July 31, 2018 10:04
Show Gist options
  • Select an option

  • Save lemajes/5d297f06300b52032e35c8ef00ebce39 to your computer and use it in GitHub Desktop.

Select an option

Save lemajes/5d297f06300b52032e35c8ef00ebce39 to your computer and use it in GitHub Desktop.
[Change Wordpress User Password] Change Wordpress user password throught wp-cli utility #linux #script #wp-cli #user #password #wordpress
#!/bin/bash
USER_PASS=""
wp --allow-root --path=/home/sites/site user update user --user_pass=$USER_PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment