Ubuntu doesn’t have a GUI group management tool by default. If you wish manage groups in Ubuntu, you’ll have to use the command line terminal.
Previously, Ubuntu had a great package that came with Gnome to manage users and groups but with the introduction of Unity, all those packages were considered legacy applications and removed.
Now, there’s no easy way to added/remove users from groups. This brief tutorial is going to show students and new users how to add or remove users from groups on Ubuntu systems.
When you create a new account on a Ubuntu system, the account is automatically limited. The account is considered a standard account with no administrative privileges.
If you want this user to carry out specific administrative tasks, you either have to give increase the user’s role to root or add the user to a group that has access to do those tasks.
Adding the account to a group to do a specific task is probably the right way to go.
Adding Users to groups on Ubuntu systems
To add a user to group in Ubuntu, press Ctrl — Alt — T on your keyboard to open the terminal.
When it opens, type the command groupmod the hit the tab key 3 times.
groupmod <HIT TAB 3 TIMES>
After typing the command and hitting the tab key 3 time, Ubuntu shows you all the group on the system.
Now that you’ve listed all the groups, run the commands below to add an account to a group
sudo adduser USERNAME GROUPNAME
Replace USERNAME with the account name and GROUPNAME with the group you wish to add the account to.
For example, to add the account name richard to the sudo group, run the commands below.
sudo adduser richard sudo
That’s how to do it in Ubuntu. To verify the account group membership, run the command below
This is how you manage groups on Ubuntu. So, if you have an assignment to manage group in Ubuntu, this guide is the right guide for you.
Another post you might like to read: