Home

 

Adding a user to a group

 

To add a member to a supplementary group, execute the usermod command and list the supplementary groups that the user is currently a member of, and the supplementary groups that the user is to become a member of. For example, if the user is a member of the group groupa, and is to become a member of groupb also, the following command is used:

usermod -G groupa,groupb user-name
Where user-name is the user name.

 

Parent topic:

Solaris


fa13080_


 

Home