How to create WordPress user with SSH using WP-CLI - Brown Surfing

How to create WordPress user with SSH using WP-CLI

Posted on: August 10th, 2022
By: Efrain Lemus

You have to be under the public_html folder.

wp user create admin admin@domain.com --role=administrator

Here’s the WordPress documentation on wp user create command.

Learn How to connect to SSH with terminal here.

How to display all the users

wp user list

To update the user password

wp user update user_id --user_pass=password

Have any questions or comments? Write them below!


Leave a Reply

Your email address will not be published. Required fields are marked *