FirstSearch Blue

Find Everything You Need On Your First Search

Article

How to Add a UNIX User to a Group

February 5, 2010 Updated February 19, 2017 1 min read qpjson

If we take the user julian, and we want to add the user to a prexisting supplemental group, apache, then you can use the following command:

usermod -a -G apache julian

[ad#Google Adsense]

If you would like to change the primary group of user julian to the group prexisting group, apache, you can use the following command:

usermod -g apache julian

Conversation

Comments

Historic WordPress comments were imported into D1. New submissions stay in review until approved.

Published comments

Loading comments…