Drupal 11 cheatsheet
Drupal 11: Users
3 common Drupal 11 tasks.
Create a user
Create an account. Use a real password.
vendor/bin/drush user:create editor1 --mail="[email protected]" --password="change-me"
Give a user a role
Add the content_editor role to a user.
vendor/bin/drush user:role:add content_editor editor1
Reset a user's password
Set a new password for a user. Use a real password.
vendor/bin/drush user:password admin "change-me"