Zolved community solution Createarticle_iconnew articleEditarticle_iconedit article

How to add an additional Super User DO(SUDO) in Ubuntu

You can give Super User status to any additional user in Ubuntu by giving SUDO access.

When you set up Ubuntu, it automatically adds the first user to the sudo group. As it doesn't automatically add additional users to the sudo group and if you want to give someone else superuser privileges on your shared system, you'll have to give them sudo access.
To add new users to sudo,  you need to use the usermod command. Run sudo usermod -G admin username . However, if the user is already a member of other groups, you'll want to add the -a option, like so: sudo usermod -a -G admin username .

  • The other way to do this will be by going to System > Administration > Users and Groups.

  • Select the user you want to add to sudo, and click Properties.

  • Under the User privileges tab, check the box that says "Administer the system" and click on OK. hey! You are ready to go.

copyright © 2010, IPTouch, Inc.

 

 

Comments
  • Posted by: liberty_5571 at 17 Jan 02:55 permalink
    If you want to do it via the command line, there's a tutorial that'll walk your through it here ->
    https://www.aplacetocode.com/tutorials/first-time-server-tutorial/

    Here it is in a nut shell

    Type: visudo
    Find the section that looks like this:

    # User privilege specification
    root ALL=(ALL) ALL

    Then add your user to the list so it looks like this:

    # User privilege specification
    root ALL=(ALL) ALL
    kevin ALL=(ALL) ALL