Alternate Way to Change My Wordpress Login
Hi, I need help changing my Wordpress login. I can't seem to be able to do it. I keep getting the message: The email could not be sent. Possible reason: Your host may have disabled the mail () function.
I'm sorry to hear that you're unable to reset your Wordpress password. The cause for why your Linode isn't sending email could mean a lot of things.
I looked into other possible ways to reset the password, and it looks like the best option if you're in a rush and don't have the time to troubleshoot your mail server would be to manually access the database on your Linode and edit it there. I found this resource on the Wordpress Codex, which works as their Community site. It explains how to reset a password through the Wordpress Command Line tool:
If you don't already have the Wordpress CLI, this page should direct you on how to get this:
In short, you can reset your admin password by ssh to host, and cd into respective wordpress site
wp user reset-password admin
If you have forgotten username, then you can get it by
wp user list
user_login is the username, which should replace admin in reset-password command.
The "Resetting Your WordPress Password" link that @watrick mentioned no longer seems to resolve, but here's the new URL:
This WordPress help page will walk you through changing a user password through the Admin screen, a forgotten password email link, the MySQL command line, phpMyAdmin, FTP, and the WP-CLI.