views:

1310

answers:

0

How can I remove a user from a group from the command line in OpenSolaris (2008.11)?

I know I can define a user's primary group and a add a user to a group with:

usermod -g primarygroup user
usermod -G group_list user

What's the corresponding command to undo that action and remove a user from the group without just editing /etc/groups