OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / original / man8 / groupmod.8
1 .\"$Id: groupmod.8,v 1.10 2002/03/09 11:16:14 ankry Exp $
2 .\" Copyright 1991, Julianne Frances Haugh
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .TH GROUPMOD 8
29 .SH NAME
30 groupmod \- Modify a group
31 .SH SYNOPSIS
32 \fBgroupmod\fR [\fB-g\fI gid \fR[\fB-o\fR]] [\fB-n\fI group_name \fR]
33 \fIgroup\fR
34 .SH DESCRIPTION
35 The \fBgroupmod\fR command modifies the system account files to reflect
36 the changes that are specified on the command line.
37 The options which apply to the \fIgroupmod\fR command are
38 .IP "\fB-g \fIgid\fR"
39 The numerical value of the group's ID.
40 This value must be unique, unless the \fB-o\fR option is used.
41 The value must be non-negative.
42 Values between 0 and 99 are typically reserved for system groups.
43 Any files which the old group ID is the file group ID
44 must have the file group ID changed manually.
45 .IP "\fB-n \fIgroup_name\fR"
46 The name of the group will be changed from \fIgroup\fR to
47 \fIgroup_name\fR.
48 .SH FILES
49 /etc/group \- group information
50 .br
51 /etc/gshadow \- secure group information
52 .SH SEE ALSO
53 .BR chfn (1),
54 .BR chsh (1),
55 .BR passwd (1),
56 .BR groupadd (8),
57 .BR groupdel (8),
58 .BR useradd (8),
59 .BR userdel (8),
60 .BR usermod (8)
61 .SH AUTHOR
62 Julianne Frances Haugh (jockgrrl@ix.netcom.com)