1.\" $OpenBSD: groupadd.8,v 1.7 2001/08/02 18:37:35 mpech Exp $ */ 2.\" $NetBSD: groupadd.8,v 1.4 2000/02/28 05:10:56 enami Exp $ */ 3.\" 4.\" 5.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 3. All advertising materials mentioning features or use of this software 16.\" must display the following acknowledgement: 17.\" This product includes software developed by Alistair G. Crooks. 18.\" 4. The name of the author may not be used to endorse or promote 19.\" products derived from this software without specific prior written 20.\" permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 23.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 26.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 28.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 30.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 31.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33.\" 34.\" 35.Dd November 30, 1999 36.Dt GROUPADD 8 37.Os 38.Sh NAME 39.Nm groupadd 40.Nd add a group to the system 41.Sh SYNOPSIS 42.Nm groupadd 43.Op Fl g Ar gid 44.Op Fl o 45.Op Fl v 46.Ar group 47.Sh DESCRIPTION 48The 49.Nm 50utility adds a group to the system. 51The options are as follows: 52.Bl -tag -width Ds 53.It Fl g Ar gid 54gives the numeric group identifier to be used for the new group. 55.It Fl o 56allow the new group to have a gid which is already in use for another group. 57.It Fl v 58enables verbose mode - explain the commands as they are executed. 59.El 60.Pp 61The 62.Nm 63utility exits 0 on success, and >0 if an error occurs. 64.Sh SEE ALSO 65.Xr group 5 , 66.Xr user 8 67.Sh HISTORY 68The 69.Nm 70utility first appeared in 71.Ox 2.7 . 72.Sh AUTHORS 73The 74.Nm 75utility was written by Alistair G. Crooks (agc@netbsd.org). 76