remove_user_from_group(7)  Mac OS X Darwin ZSH customization  remove_user_from_group(7)



NAME
       remove_user_from_group - Remove an existing user from an existing group
       (or all groups) in the Directory Service database


SYNOPSIS
       remove_user_from_group group_name|all username

       where

       group_name is a one-word name of an existing group

       all means every group to which the user belongs

       username is the standard (short, account) one-word username of a Mac OS
       X account that has previously been created.

       Both  arguments  are compulsory and must be supplied in the order given
       above.


DESCRIPTION
       The remove_user_from_group command must be invoked by an admin user.

       Remove a user from a group, or all groups.

       Removes an existing user from an existing group in NetInfo, or from all
       groups to which that user belongs (but not their primary group).


SEE ALSO
       add_user(7),      addgroup(7),     delete_user(7),     delete_group(7),
       remove_user_from_group(7), adduser2group(7)


AUTHOR
       Obtained  and  modified  from  a  bash  shell   script   available   at
       http://www.osxfaq.com/tips/unix-tricks/week91/friday.ws


MAINTAINER
       W. G. Scott wgscott@users.sourceforge.net



Mac OS X                        August 4, 2005       remove_user_from_group(7)