Windows DatabaseebooksStatistical Information

LLE10037 : Howto add an existing linux user to a supplementary or secondary group with the usermod command

Symptom:

You need to add an existing user to a linux group

Cause:

none

Solution:

You use the usermod comman with the -a and -G switch to do the job.

usermod -a -G thegroup theuser

This will add the existing user <theuser> to the group <thegroup>


Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics