Forgot Password and Username from My Lightsail Instance

0

Hello I Forgot the Password and Username from My Lightsail Instance Please, help me to restore it. Is it possible to do? Thanks

asked a year ago285 views
3 Answers
0

By password and username of the Lightsail instance, do you mean the information used to access WordPress?
If so, please review the following documents.
https://repost.aws/knowledge-center/lightsail-reset-wordpress-password

profile picture
EXPERT
answered a year ago
0

Hello,

You can modify the WordPress password through an SSH session and the use of the WordPress CLI. The Lightsail console provides a web-ssh client you can open in 1-click.

Once in the instance, you need to execute the following command, replacing "YourNewPasswordGoesHere" with your desired new password:

Command:

sudo wp user update user --user_pass=YourNewPasswordGoesHere --skip-email

Expected output:

Success: Updated user 1.

The above would change the password for your default user, which is named user. The new password would be "YourNewPasswordGoesHere" so please replace that with your chosen new password.

If you have other user(s) and want to change their password, you need to supply the correct name. In that case, please replace "UserName" and "YourNewPasswordGoesHere" with their respective values.

sudo wp user update UserName --user_pass=YourNewPasswordGoesHere --skip-email

I hope this resolves your issues. Please advise if you are still blocked. -Andy

AWS
MODERATOR
answered a year ago
0

Hi there! This helped me logging in, although I had this message:

Administration email verification Please verify that the administration email for this website is still correct. Why is this important?(opens in a new tab)

Current administration email: user@example.com

This email may be different from your personal email address.

The problem is when I ask to confirm the email, it never reached my inbox. Therefore I can never confirm my email..

Thanks!

joana
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions