How to Easily Add Users to Groups in Ubuntu

Ubuntu comes with a very simple “User Account” option that doesn’t really provide you with much options. If you are looking to add user to a group, such as adding yourself to the “vboxusers” group so you can enable the USB drive support in Virtualbox, you won’t be able to do so with any default application. Here is how you can add users to groups in Ubuntu.

The first method is via the command line. To add a user to a group, open a terminal and type:

Replace the “group” with the group that you want to add to.

Replace the “username” with the name that you want to add to the group.

For example, to add the username “damien” to the group “vboxusers”, use the following command:

To remove a user from a group, you can use the following command:

Note: You have to specify the “Group” in the above command. Failure to do so will result in the removal of the user.

If you prefer a GUI over the command line, you can make use of the gnome-system-tools app to add users to groups.

Once installed, launch the “Users and Groups” application.


Click the “Manage Group” button.

Scroll down to find the group that you want to add/remove user. Highlight it and click Properties.


Check/uncheck the username to add/remove users.


That’s it.