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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ