Administration
How to add a user to a group
Sometimes, when I’m working on Ubuntu or other distributions and I need to install a new program that asks me for add my user to a new group I usually go to System->Administration->Users and groups and I set my default group to the group that the program said.
But I’m not sure if this method is really the right method. For that reason, after a few hours working on Gentoo I discoverd a nice and simple way to add a user to an specific group. And you can use this for every GNU/Linux distribution.
As a root, just type:
gpasswd -a user group
That’s all. No more problems, no more “Users and groups”, no more ignorance. If you want to learn something about GNU/Linux, you should try Gentoo. It’s hard… but you’ll have fun!!.
(I needed to write it down because I always forget it)

