Reset wordpress dashboard password from command line
I lost the password for the wordpress dashboard. I can login as root to the droplet via SSH. I am using the wordpress 1-click install (Ubuntu 16.04) on my droplet. I have no mail server setup. How do I reset the dashboard user and password via command line from the root account?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.