addgroup(7)

NAME
addgroup - Add a user group to the Directory Service database

SYNOPSIS
addgroup group_name gid where group_name is a one-word name of a new group gid is an (unused) numerical group id integer (Mac OS X starts numbering usergroups consecutively from 501 but any larger integers may be used) Both arguments are compulsory and must be supplied in the order given above.

DESCRIPTION
The addgroup command must be invoked by an admin user. Takes a group_name and gid and creates a new group in NetInfo groups

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>