|
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) |