Wordpress one-click app - forgot password now sending email

1) How to make wordpress send forgot password emails?

2) How to change password from the ubuntu command line?

4 Replies

For getting Wordpress to send emails you might need to use a plug-in that sends email via smtp instead of Wordpress’s default PHP mail function.


For resetting your password there’s a few ways you can do that. See https://wordpress.org/support/article/resetting-your-password/

1) How to make wordpress send forgot password emails?

See here:


WP will need the email address and access to a mail server to do this. You will have to petition Linode to open ports 25, 465 and 587 for your Linode for you to send mail over the internet. You will have to safely open these ports in your firewall as well.

2) How to change password from the ubuntu command line?

First, there is no such thing as "the ubuntu command line". It's called the shell…and there are lots of them…sh, bash, zsh, csh, tcsh, etc. Unlike Windoze, where M$ knows what's best for you better than you know what's best for you, you can use whatever shell you like.

Second, see here: https://linuxize.com/post/how-to-change-user-password-in-linux/

Third, you will need to become the super-user to do this for any user but yourself.

Fourth, you can't change someone's WP password this way. There is no connection between someone's WP password and their login password. The WP password is a construction of WP only.

-- sw

Thanks - this is what I was referring too:

==> Through WP CLI - WP CLI is a command line tool for managing your WordPress installation.

See the second link in @LouWestin's post.

-- sw


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct