Add User to Existing Group in Ubuntu

Posted in Quick Tips | 34 comments
Tags: , , , ,

command prompt logousermod is shell command for manipulating user accounts in Ubuntu and almost any other Linux distro. You can use it to add existing user to existing group, for example once installed Virtualbox (sudo apt-get install virtualbox-ose) you should add your user account to vboxusers group to be able to use USB flash drives inside virtual machines.

To add user bob to supplementary group vboxusers use usermod command as follows (-a parameter specifies adding while -G points to group name):

sudo usermod -a -G vboxusers bob

Want to change user’s primary group from default to something else (e.g. group named adm)? No problems:

sudo usermod -g adm bob

Follow @Ubuntuka on Twitter!


Posted on June 11, 2012 at 9:39 am

Just in case you don’t see it working the way you expect it: you may need to logout and login again to actually be able to use your new powers!


Posted on August 14, 2012 at 8:00 am

"-a parameter specifies" what does this mean? I'm new to ubuntu.


Posted on August 19, 2012 at 8:31 am

-a parameter specifies "adding", read again, or maybe it wasn't written when you read it before.


Posted on August 20, 2012 at 7:23 pm

Thank you very much!

ipad 2 pris

Posted on January 8, 2013 at 10:22 pm

Its such as you read my mind! You seem to understand a lot about this,
such as you wrote the ebook in it or something.
I think that you just could do with some p.c. to force the message
house a bit, but other than that, this is fantastic
blog. A great read. I will certainly be back.


Posted on March 7, 2013 at 11:23 am

it working


Posted on March 17, 2013 at 7:27 pm

nice site the text becomes a bit hard to read on your background after a while tho. jus a friendly suggestion =) Adobe Photoshop CS6 Key Generator


Posted on March 19, 2013 at 8:18 am

Hello.This article was extremely interesting, particularly since I was searching for thoughts on this issue last Thursday. bangbros account generator


Posted on May 16, 2013 at 1:16 pm

I just could not leave your site prior to suggesting that I actually loved the usual information an

individual supply in your guests? Is gonna be back continuously

to check up on new posts

Posted on May 18, 2013 at 2:22 pm

An outstanding share! I’ve just forwarded this onto a co-worker who has been conducting a little research on this. And he in fact bought me lunch due to the fact that I found it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending time to talk about this issue here on your site.


Posted on June 10, 2013 at 7:11 am

nice blog very informative

Casino en ligne

Posted on July 19, 2013 at 11:37 am

WOW!! actually, since longtime I am looking for this kind of post and eventually I perceived you are posting shortly this post. That's help me a lots. delight keep updating more handful information. Thanks

Online Casino

Posted on August 4, 2013 at 10:17 am

Thanks for sharing your thoughts about apt. Regards

Patrick Hospes

Posted on August 16, 2013 at 7:35 am

This is really good published article. Such a great yet interesting post. Thank you very much for sharing this nice stuff.

hire bury djs

Posted on December 7, 2013 at 5:55 am

You have mentioned in your post about usermod that it is a shell command which is used for manipulating accounts in ubuntu, really informative. Please tell more about adding existing user to existing group?

buy soccer equipment

Posted on December 9, 2013 at 6:05 am

Great post about usermod shell command which is used for manipulating user accounts in ubuntu, this is really good information about usermod.Thanks for the post.

liverpool djs

Posted on April 5, 2014 at 5:46 pm

I have read the article it is really very informative.Thanks for sharing the post.

manchester djs

Posted on April 5, 2014 at 5:47 pm

Great post really like it a lot.Thanks for sharing the post.

Halloween michael myers

Posted on September 15, 2014 at 4:29 pm

It’s really very difficult in this full of activity
life to listen news on TV, therefore I just use world wide web for that purpose, and obtain the most up-to-date news.

Zaina Kapoor

Posted on September 17, 2014 at 12:39 pm

Great post really like it a lot.Thanks for sharing


Posted on October 1, 2014 at 11:47 am


in what way Ubuntu will be useful?


Posted on October 7, 2014 at 6:06 am

I must admit that your post is really interesting. I have spent a lot of my spare time reading your content. Thank you a lot!

Agen judi Gerrard harus tinggal di Anfield untuk hidup

Posted on December 4, 2014 at 10:01 am

Hello everyone, it’s my first visit at this web page, and piece of writing is truly fruitful for me, keep up posting these posts.

Hermes iPhone 6 Case

Posted on December 25, 2014 at 4:38 pm

In an exclusive preview, SamMobile published a series of videos showing how Samsung///'s devices will run on the Android 5.0.1 Lollipop update. According to the site, Samsung has been working on the Galaxy S5 LTE-A 5.0.1 release whereas the Galaxy Note 4 and the Note Edge will go straight to 5.0.1, past the 5.0 version.

thrift store last

Posted on January 3, 2015 at 6:06 am

We are a gaggle of volunteers and starting a brand new scheme in our community.
Your web site offered us with helpful info to work on. You’ve done a
formidable process and our entire community shall be thankful to you.

العاب موتسكلات

Posted on January 3, 2015 at 9:05 am

thats so amazing and so formidable process and our entire community shall be thankful to you.

samsung galaxy

Posted on January 12, 2015 at 7:12 am

This show has evolved from a radio exposition to a major show that features technical and industrial exhibitors from around the globe.
He had some connections but he hardly ever had his hands on a product before anyone else did.

Furthermore, the 8-megapixel camera phone is not only a still-shot powerhouse but a mobile
multimedia all in one.


Posted on January 15, 2015 at 4:03 am

It’s going to be end of mine day, however before end I am reading
this impressive article to improve my knowledge.


Posted on January 16, 2015 at 9:37 am

We deal in all major towns or cities such as in Spy Camera in Noida, Spy Camera in Delhi, Spy Camera in Noida and other world wide places.So come and get these spy products from our shops providing you all required features. We are retailer as well as supplier dealing with such spy camera in Gurgaon, Noida and Gurgaon. We provide you spy camera in Noida at reasonable prices by offering heavy discount so that it could be affordable even for a person belonging to middle class family.

Sally Kapoor

Posted on January 16, 2015 at 9:40 am

We are acknowledged as one of eminent Goggles Video Camera Suppliers in India. Our technically advanced Goggles Video Camera is perfect for video recording, MP3 playback, 100% UV protection system, and can be connected to headphone, earphone, home theatre, and multi-media. Our sophisticated Spy Goggle Video Camera is ideal to be used in outdoor and indoor.

Posted on January 16, 2015 at 9:41 am

Are you an active news blogger, citizen journalist, investigator or just an amateur funny video movie-maker? Want to keep an audio/video record of those important private meetings for later review?
Here is the answer. This Bluetooth Earphone Hidden Camcorder will allow you to record interviews, business meetings, school lectures and on scene discussions without intimidating anyone.

Tia Kapoor

Posted on January 22, 2015 at 4:50 am

He had some connections but he hardly ever had his hands on a product before anyone else did.


Posted on January 25, 2015 at 4:00 pm

Chandigarh escorts agency is an high class Chandigarh Escort agency that provides outcall Chandigarh Escorts to VIP Gentlemen in Chandigarh

Post a comment

Hello guest, care to post a comment?