2

I installed Ubuntu Core using these instructions, and added a user. But when I try to add the user to the admin group, it says the group does not exist. What do I do?

PS I had to install sudo, however it made no difference.

1 Answer 1

3

On traditional Linux/Unix systems there is no "admin" group, such group was widely introduced for desktop usage. If you really need an admin group on a core system (you may not needed), you will need to create it manually:

groupadd admin -g 120
4
  • Then if do not have my user in the admin group, how will do the tasks that require admin privileges? Log in as root?
    – Oxwivi
    Oct 24, 2011 at 6:56
  • (and I do need it since I'm just experimenting with my own desktop computer)
    – Oxwivi
    Oct 24, 2011 at 9:57
  • No, you install sudo and set it up allowing commands from a user/group. Anyway I gave you the answer how to create the group, if you really need it :) Oct 24, 2011 at 18:41
  • According to this link: bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/893842 Ubuntu now uses the 'sudo' group as the admin one. Therefore if you want to perform admin actions, your user will require to join the 'sudo' group. Sep 7, 2013 at 6:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .