Does anyone know how to edit user profiles as an administrator in Drupal 8(change roles in my case) without having to know or change the password?


  • Its simple go to "/admin/people". Edit the user and change the role and save it. – DRUPWAY Nov 16 '16 at 10:56
  • 1
    I think password field is not mandatory. You remove the prefilled value and try to save the form. – DRUPWAY Nov 16 '16 at 11:08
  • 1
    If the password field is pre-filled, then that's because your browser or extension is trying to be intelligent and fills it out automatically. Try teaching it not to do that. – Berdir Nov 16 '16 at 19:36

You can do it from the command line using drush user-add-role. To find the exact syntax, type :

drush help urol

Hope it helps.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.