Thread: "newuser"
View Single Post
Old 4th June 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

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!
Reply With Quote