jump to navigation

“expert” Mode Install and Admin (sudo) for Users May 26, 2006

Posted by Carthik in administration, ubuntu.

If you chose to install Ubuntu in the expert mode, then you can create an use a root user, just like in any other distro. However, this might leave normal users with no admin privileges, so they’ll have trouble running Synaptic, configuring the network etc. In the normal mode, the first user is automatically setup as an admin, so you can use sudo (or gksudo) to execute programs as an administrator (root user equivalent).

If, however, you installed Ubuntu in the expert mode, and still want some users to be admins, you can use this solution. You can create a group called admin, and give this group admin privileges. Then you can add all the users you want to have these privileges to this group.

The command for this are as follows:

#addgroup --system admin
The sudoers file should then be edited to include:
%admin ALL=(ALL) ALL
#adduser username admin

The above commands are to be executed as the root user, of course. Replace username with the username of the user that you want to give admin privileges to.


1. Graham Binns - May 26, 2006

It is considered very bad to set up sudo profiles without using visudo. If visudo is installed (as it should be since, as I recall, it comes with sudo by default) the second command should be replaced with:


The sudoers file can then be edited to include:

%admin ALL=(ALL) ALL

Once the file is save visudo will verify that the sudoers file is valid (it being broken can make life… interesting to say the least).

2. ubuntonista - May 27, 2006

Thanks Graham. I made a correction to the post.

3. Graham Binns - May 27, 2006

No problem. Glad to help 🙂

4. cool site - June 1, 2006

cool site…

check this out: http://www.aspectinformation.info/ 5…

5. Vagner Rener - September 15, 2006

Why don’t they fix this problem when installing in expert mode. I mean allowing people not setting normal user passw (for using sudo), instead of root password? Where can I suggest this fix to ubuntu developers for the next release (Edgy)?

6. newbie - October 15, 2007

but how does one edit the sudoers file??? bitch won’t open…?

7. Chris - February 10, 2009

use visudo

8. porno sikiş - September 27, 2010

No problem. Glad to help 🙂

9. sex sikiş - September 28, 2010

Thanks Graham. I made a correction to the post.

Beraat Topal - September 26, 2022

kank bu isimi niye kulandin?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: