0

I have Drupal 8 minimal installation profile and it does not seem to have provided super user status to the first admin account created during the installation process.

How do I enable it?

5
  • Welcome to drupal.stackexchange, what is your Drupal version? do you looked at users tables on your database? is there any user there?
    – Yuseferi
    Commented Mar 22, 2017 at 12:48
  • Thank you. Drupal 8 (minimal install). Yes, there are two entries (uid,uuid,langcode): 0,c87da1b7-26f7-415c-88cb-ed625697cd24,en 1,622c8cd9-ab33-4953-9904-1b6fceb1dc6d,en. But user__roles table is empty
    – qwaz
    Commented Mar 22, 2017 at 13:14
  • what are you missing ?
    – rémy
    Commented Mar 22, 2017 at 13:19
  • @rémy you tell me.
    – qwaz
    Commented Mar 22, 2017 at 14:08
  • 1
    If I were you, I would use normal/regular installation. Minimal installation is just a big headache. You're better off using normal/regular and then uninstall the modules you do not want.
    – No Sssweat
    Commented Mar 22, 2017 at 23:22

1 Answer 1

4

User 1 doesn't need any roles to have super user status. User 1 is exempted from the permissions system entirely. So, they automatically have all permissions, regardless of roles they may or may not have.

1
  • 1
    Yes. Think of user 1 as 'root' in linux. But also, do not delete user 0, or user 1.
    – Kevin
    Commented Mar 22, 2017 at 13:38

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.