Saturday, November 10, 2012

Adding an Existing User to a Group

Add an Existing User to a Group
Next we’ll add a user to the group, using this syntax:
usermod -a -G <groupname> username
For example, to add user geek to the group admins, use the following command:
usermod -a -G admins geek

No comments:

Post a Comment