There may be a command, but when it comes to removing a user from a group that isn't their primary group, I prefer to edit /etc/group manually. You could use "pw -G" as you mentioned above, but you need to list every group that member should belong to (which could quickly become cumbersome for example if you have a user that belongs to 30 groups and you need to remove him from one).
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
|