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

질문됨 일 년 전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
전문가
답변함 일 년 전
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
중재자
답변함 일 년 전
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인