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

已提问 1 年前309 查看次数
3 回答
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
专家
已回答 1 年前
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
审核人员
已回答 1 年前
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
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则