Results 1 to 4 of 4

Thread: Default Groups For Admin User In Ubuntu 12.04?

  1. #1
    Join Date
    Apr 2008
    Beans
    31

    Question Default Groups For Admin User In Ubuntu 12.04?

    On a laptop running Ubuntu 12.04 LTS I foolishly followed some instructions on adding a user to a secondary group. After executing the command (usermod) I can no longer use the sudo command. Should have followed my insticts after doing some reading of the man page for usermod where the a switch needs to be added before the G switch.

    My Linux CLI knowledge is a bit rusty however I discovered via the groups command that my user is now only a member of 2 groups (incl the user's group). Only one user exists in the system since the OS was installed via a Net Install.

    What are the default groups that an admin user is a member of in Ubuntu 12.04?

    Made a mistake in creating this thread in the wrong group. This thread should be in the General Help group. Is there any way to move this thread?
    Last edited by digiPixel; May 2nd, 2012 at 05:40 AM. Reason: Created thread in wrong group

  2. #2
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Default Groups For Admin User In Ubuntu 12.04?

    You should be in adm cdrom sudo dip plugdev lpadmin sambashare
    Attached Images Attached Images

  3. #3
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Default Groups For Admin User In Ubuntu 12.04?

    Quote Originally Posted by digiPixel View Post
    After executing the command (usermod) I can no longer use the sudo command.
    You can fix that:
    http://www.psychocats.net/ubuntu/fixsudo

  4. #4
    Join Date
    Apr 2008
    Beans
    31

    Re: Default Groups For Admin User In Ubuntu 12.04?

    You should be in adm cdrom sudo dip plugdev lpadmin sambashare
    Quote Originally Posted by aysiu View Post
    That did the trick, thanks. Will teach me to enter in a command without checking it first.

    Now i'm wondering why Canonical decided to remove group management from User Accounts. Would have made adding a user to a new group less error prone.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •