8960 libefi: import efichar.c for ucs2 support
[unleashed.git] / usr / src / man / man1m / groupdel.1m
blobbb5ef3b3c8b00db37287659021305a978328dae0
1 '\" te
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 1M "Feb 25, 2017"
7 .SH NAME
8 groupdel \- delete a group definition from the system
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/groupdel\fR \fIgroup\fR
13 .fi
15 .SH DESCRIPTION
16 .LP
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.
19 .SH OPERANDS
20 .ne 2
21 .na
22 \fB\fIgroup\fR\fR
23 .ad
24 .RS 9n
25 An existing group name to be deleted.
26 .RE
28 .SH EXIT STATUS
29 .LP
30 The following exit values are returned:
31 .sp
32 .ne 2
33 .na
34 \fB\fB0\fR\fR
35 .ad
36 .RS 6n
37 Success.
38 .RE
40 .sp
41 .ne 2
42 .na
43 \fB\fB2\fR\fR
44 .ad
45 .RS 6n
46 Invalid command syntax. A usage message for the \fBgroupdel\fR command is
47 displayed.
48 .RE
50 .sp
51 .ne 2
52 .na
53 \fB\fB6\fR\fR
54 .ad
55 .RS 6n
56 \fIgroup\fR does not exist.
57 .RE
59 .sp
60 .ne 2
61 .na
62 \fB\fB10\fR\fR
63 .ad
64 .RS 6n
65 Cannot update the \fB/etc/group\fR file.
66 .RE
68 .SH FILES
69 .ne 2
70 .na
71 \fB\fB/etc/group\fR\fR
72 .ad
73 .RS 14n
74 system file containing group definitions
75 .RE
77 .SH SEE ALSO
78 .LP
79 \fBusers\fR(1B), \fBgroupadd\fR(1M), \fBgroupmod\fR(1M), \fBlogins\fR(1M),
80 \fBuseradd\fR(1M), \fBuserdel\fR(1M), \fBusermod\fR(1M), \fBattributes\fR(5)
81 .SH NOTES
82 .LP
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
87 nameservice.
88 .sp
89 .LP
90 \fBgroupdel\fR fails if a group entry (a single line in \fB/etc/group\fR)
91 exceeds 2047 characters.