xref: /openbsd/usr.sbin/user/group.8 (revision a4e61cf2)
1.\" $OpenBSD: group.8,v 1.18 2022/02/06 00:29:03 jsg Exp $
2.\" $NetBSD: group.8,v 1.10 2003/02/25 10:36:21 wiz Exp $
3.\"
4.\" Copyright (c) 1999 Alistair G. Crooks.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. The name of the author may not be used to endorse or promote
15.\"    products derived from this software without specific prior written
16.\"    permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
19.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
22.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
24.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\"
31.Dd $Mdocdate: February 6 2022 $
32.Dt GROUP 8
33.Os
34.Sh NAME
35.Nm group
36.Nd manage group information on the system
37.Sh SYNOPSIS
38.Nm group
39.Cm add
40.Op Fl ov
41.Op Fl g Ar gid
42.Ar group
43.Nm group
44.Cm del
45.Op Fl v
46.Ar group
47.Nm group
48.Cm info
49.Op Fl ev
50.Ar group
51.Nm group
52.Cm mod
53.Op Fl ov
54.Op Fl g Ar gid
55.Op Fl n Ar newname
56.Ar group
57.Sh DESCRIPTION
58The
59.Nm
60utility acts as a frontend to the
61.Xr groupadd 8 ,
62.Xr groupmod 8 ,
63.Xr groupinfo 8 ,
64and
65.Xr groupdel 8
66commands.
67.Pp
68For a full explanation of the options, see the relevant manual page.
69.Sh EXIT STATUS
70.Ex -std group
71.Sh SEE ALSO
72.Xr group 5 ,
73.Xr groupadd 8 ,
74.Xr groupdel 8 ,
75.Xr groupinfo 8 ,
76.Xr groupmod 8 ,
77.Xr user 8
78.Sh HISTORY
79The
80.Nm
81utility first appeared in
82.Ox 2.7 .
83.Sh AUTHORS
84The
85.Nm
86utility was written by
87.An Alistair G. Crooks Aq Mt agc@NetBSD.org .
88