Groups, What am I overlooking?

Patrick Head patrick at
Sat Jul 17 09:04:34 PDT 2004

On Sat, 2004-07-17 at 08:32, DJ Lucas wrote:
> to be an existing tool that I'm just overlooking; to just add a user to
> a group without affecting the rest of his groups, isn't there?!?!?
> -- DJ Lucas


I just tried this:

usermod -G`id -Gn user_in_question | tr ' ' ','`,new_group

I realize this is a "one killer command" but it is just one command

Hope this helps!


Patrick Head
patrick at

More information about the lfs-chat mailing list