Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

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
share|improve this answer
    
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 '11 at 6:56
    
(and I do need it since I'm just experimenting with my own desktop computer) –  Oxwivi Oct 24 '11 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 :) –  João Pinto Oct 24 '11 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. –  chilicuil Sep 7 '13 at 6:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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