View Single Post
Old 08-29-2007   #1 (permalink)
voodooking


 
 

remove user from all groups but 1

been banging my head against the wall trying to script the removal of a user
from all group member ships but one

ie
user is memberof {xxx,ccc,ggg,mailing list,mailing list,etc}

want to remove them from all but xxx (which is already set to primary group)
My System SpecsSystem Spec