“expert” Mode Install and Admin (sudo) for Users May 26, 2006Posted 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.