Reset WordPress admin password via WP-CLI
The following tutorial covers resetting the WordPress admin password via WP-CLI.
We will do the whole thing in a few seconds.
We log into the console
and go to the directory where our wordpress is located
1 | cd /var/www/wordpress/ |
The next step is to display users who can edit wordpress
We will do this by issuing an order:
1 | wp user list |
the last step is to change the password by issuing the command:
1 | wp user update 1 --user_pass=nowehasło |
wp user update 1 we replace our user ID
–user_pass=A new password replaced with a new password.
Related entries:
Installation IonCube Loader system Centos 8
Scanning the server for viruses using ClamAV in Ubuntu
ImapCopy or fast way to migrate mail between servers
gconf-service gconf-service-backend gconf2-common libappindicator1 libc++1 libc++1-9 libc++abi1-9 libdbusmenu-gtk4 libgail-common libgail18 libgconf-2-4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-commonAll-in-one voice and text chat for gamers
All-in-one voice and text chat for gamers that's free 22.04
Installing the OSA Studio 27.1 w Ubuntu 20.04, Ubuntu 21.04