1

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?

Thanks

3
  • Its simple go to "/admin/people". Edit the user and change the role and save it.
    – DRUPWAY
    Nov 16, 2016 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, 2016 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, 2016 at 19:36

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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