DEV.MD / Developer Network
Search:     Advanced search
Browse by category:
Glossary | Contact Us

How to add an additional Super User in Debian or Ubuntu

Add comment
Views: 555
Votes: 0
Comments: 0
Posted: 28 Oct, 2009
by: Admin K.
Updated: 28 Oct, 2009
by: Admin K.
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.

Others in this Category
document Show the List of Installed Packages on Debian or Ubuntu



RSS