Results 1 to 5 of 5

Thread: How to change a user to a super user...13.04

  1. #1
    Join Date
    Feb 2013
    Beans
    27

    Question How to change a user to a super user...13.04

    Ubuntu Team,

    I've been at trying to add another user to the admin level...is there a trick to this?

    Clicking on the user and changing the Account Type from Standard to Admin isn't offered...how do I set my second user as an admin as well?

    Appreciate the help...

    Mike-

  2. #2
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: How to change a user to a super user...13.04

    Hi

    We're not the Ubuntu Team. We're just Ubuntu users like you

    The easiest way to do what you want is from the terminal.

    Log into your normal user (the one with admin rights).

    Open a terminal (type terminal in the dash) and type

    Code:
    sudo usermod -aG sudo <user_name>
    Ubuntu is case sensitive so that needs to be a capital G in the command above.

    Change <user_name> to the name of the user you want to give admin rights to.

    Enter your password. It will not be echoed to the screen. This is normal.

    Log into the new user and they should have admin rights.

    To check your new user when you have logged in, open a terminal and type

    Code:
    groups
    You're looking for the word sudo returned. For your reference, here are mine...

    Code:
    matthew-S206:/home/matthew % groups 
    matthew adm cdrom sudo dip plugdev lpadmin sambashare
    matthew-S206:/home/matthew %
    If that does not work then repeat the above steps but switch sudo for admin and re-run the above commands.

    Belonging to the sudo group bistows admin rights in newer version of ubuntu, but belonging to the admin group does in older versions.

    I am not running Unity are the moment (trying something different for a little while), so i cannot show you how to do it using the GUI.

    Maybe someone else will.

    Kind regards
    Last edited by matt_symes; June 7th, 2013 at 07:08 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  3. #3
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: How to change a user to a super user...13.04

    Search "edit sudoers file" or "add user to sudoers file". I have not done this before, but found different instructions . Be very certain of the method before proceeding.
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: How to change a user to a super user...13.04

    Code:
    I am not running Unity are the moment (trying something different for a little while), so i cannot show you how to do it using the GUI.
    The gui in unity is simple.
    Open the system settings, and go to user accounts.
    Click the unlock button at the top and enter you current admin user's password.
    Then click on the plus sign under the listing of current users.
    The fill out the needed info, and make sure the dropdown box is set for administrator and not standard.
    Make up a password, and enter it twice for confiramtion.
    Then click create, or okay, or whatever it says.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Feb 2013
    Beans
    27

    Re: How to change a user to a super user...13.04

    Ms,

    Appreciated the help. Worked like a charm...once I did that the login boxes changed and everything had more items to choose from...it works!

    Mike-

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
  •