2 .\" Copyright 1989 AT&T Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH GROUPDEL 8 "Feb 25, 2017"
8 groupdel \- delete a group definition from the system
12 \fB/usr/sbin/groupdel\fR \fIgroup\fR
17 The \fBgroupdel\fR utility deletes a group definition from the system. It
18 deletes the appropriate entry from the \fB/etc/group\fR file.
25 An existing group name to be deleted.
30 The following exit values are returned:
46 Invalid command syntax. A usage message for the \fBgroupdel\fR command is
56 \fIgroup\fR does not exist.
65 Cannot update the \fB/etc/group\fR file.
71 \fB\fB/etc/group\fR\fR
74 system file containing group definitions
79 \fBusers\fR(1B), \fBgroupadd\fR(8), \fBgroupmod\fR(8), \fBlogins\fR(8),
80 \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8), \fBattributes\fR(5)
83 The \fBgroupdel\fR utility only deletes a group definition that is in the local
84 \fB/etc/group\fR file. If a network nameservice
85 is being used to supplement the local \fB/etc/group\fR file with additional
86 entries, \fBgroupdel\fR cannot change information supplied by the network
90 \fBgroupdel\fR fails if a group entry (a single line in \fB/etc/group\fR)
91 exceeds 2047 characters.