X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/bcbfd5e99ee20c241ad6ac11d9e75826900944ac..475ca984df484b9851edede590f66106c9d5455a:/adduser/addgroup.8 diff --git a/adduser/addgroup.8 b/adduser/addgroup.8 index 2ce5e65..2e2d754 100644 --- a/adduser/addgroup.8 +++ b/adduser/addgroup.8 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: adduser.8,v 1.12 1996/08/28 17:54:13 adam Exp $ +.\" $Id$ .Dd Oct, 30, 1996 .Dt ADDGROUP 8 @@ -34,17 +34,19 @@ .Nm .Op Fl g Ar gid .Ar group -.Op Ar user Op , Ar user,... +.Op Ar user Ns , Ns Ar user,... .Sh DESCRIPTION +The .Nm -add a group to +command adds a group to the .Xr group 5 database. -Optional +The optional .Ar user -initialized the group with group members. +is added to the group membership list. +The .Ar user -may be a comma separated list of user names. +argument may be a comma separated list of user names. If .Ar group already exists @@ -52,14 +54,14 @@ already exists add .Ar user to the -.Ar group. +.Ar group . .Sh OPTIONS .Bl -tag -width Ds .It Sy -g gid Create new group with group id .Ar gid -if possible or higher. Default gid is 1000. -This option has only affects for new groups. +if possible or the next higher id that is available. Default gid is 1000. +This option only applies to new groups. .El .Sh EXAMPLES .Pp @@ -70,12 +72,12 @@ Add group `cracau' with group identification 5000 or higher. $ addgroup foo blech,bar .Pp Add user `blech' and user `bar' to group `foo'. Create group -`foo' if not exists. +`foo' if it does not exist. .Sh SEE ALSO .Xr group 5 , .Xr adduser 8 , -.Xr rmuser 8 , -.Xr rmgroup 8 +.Xr rmgroup 8 , +.Xr rmuser 8 .Sh HISTORY The .Nm