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

demandé il y a un an309 vues
3 réponses
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
répondu il y a un an
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
MODÉRATEUR
répondu il y a un an
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
répondu il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions