2007-10-07 17:15:23 +05:30
|
|
|
|
.\" Copyright 1991, Julianne Frances Haugh
|
|
|
|
|
.\" All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
|
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.\"
|
2007-10-07 17:15:49 +05:30
|
|
|
|
.\" $Id: groupadd.8,v 1.5 2004/11/04 03:06:33 kloczek Exp $
|
2007-10-07 17:15:23 +05:30
|
|
|
|
.\"
|
|
|
|
|
.TH GROUPADD 8
|
|
|
|
|
.SH <EFBFBD>W<EFBFBD><EFBFBD>
|
|
|
|
|
groupadd \- <20><> <20><> <20>s <20>s <20><>
|
|
|
|
|
.SH <EFBFBD>y<EFBFBD>k
|
|
|
|
|
\fBgroupadd\fR [\fB-g\fI gid \fR[\fB-o\fR]] [\fB-f\fR] \fIgroup\fR
|
|
|
|
|
.SH <EFBFBD>y<EFBFBD>z
|
|
|
|
|
\fBgroupadd\fR
|
|
|
|
|
<EFBFBD>i <20><> <20>w <20>s <20><> <20>W <20><> <20><> <20><> <20><> <20>s <20><> <20>s <20><> <20>b <20><> <20>C
|
|
|
|
|
<EFBFBD><EFBFBD> <20>n <20><> <20>i <20>q <20>t <20><> <20><> <20><> <20>o <20>s <20>s <20><> <20><> <20>C
|
|
|
|
|
\fBgroupadd\fR <20><> <20>U <20>C <20><> <20><> <20>i <20><> <20>C
|
2007-10-07 17:15:40 +05:30
|
|
|
|
.IP \fB-f\fR
|
|
|
|
|
This is \fIforce\fR flag.
|
|
|
|
|
<EFBFBD>s <20>W <20>@ <20><> <20>w <20>g <20>s <20>b <20><> <20>s <20><> <20>b <20><> <20>A <20>t <20><> <20>| <20>X
|
|
|
|
|
<EFBFBD>{ <20><> <20>~ <20>T <20><> <20>M <20><> <20><> <20><> \fBgroupadd\fR <20>C
|
|
|
|
|
<20>p <20>G <20>O <20>o <20><> <20><> <20><> <20>p <20>A <20><> <20>| <20>s <20>W <20>o <20><> <20>s <20><>
|
|
|
|
|
( <20>p <20>G <20>O <20>o <20><> <20><> <20>p <20>U <20>A <20>t <20><> <20><> <20>| <20>A <20>s <20>W <20>@ <20><> )
|
|
|
|
|
.br
|
|
|
|
|
<EFBFBD>] <20>i <20>P <20><> <20>[ <20>W \fB-g\fR <20><> <20><>
|
|
|
|
|
<EFBFBD><EFBFBD> <20>A <20>[ <20>W <20>@ <20><> \fIgid\fR <20>A <20><> <20><> \fIgid\fR
|
|
|
|
|
<EFBFBD>N <20><> <20><> <20>O <20><> <20>@ <20><> <20>A <20>i <20><> <20>[ \fB-o\fR <20><> <20><> <20>A
|
|
|
|
|
<EFBFBD><EFBFBD> <20>n <20>s <20><> <20><> <20>| <20><> <20><> <20>G
|
|
|
|
|
(adding a group as neither \fB-g\fR or \fB-o\fR options were
|
|
|
|
|
specified).
|
|
|
|
|
|
2007-10-07 17:15:23 +05:30
|
|
|
|
.IP "\fB-g \fIgid\fR"
|
|
|
|
|
group's ID <20><> <20>C
|
|
|
|
|
<EFBFBD><EFBFBD> <20>D <20><> <20><> \fB-o\fR <20><> <20><> <20><> <20>M <20><> <20><> <20><> <20><> <20>O <20><> <20>@ <20>A <20><> <20>i <20><> <20>P <20>C
|
|
|
|
|
<EFBFBD><EFBFBD> <20><> <20><> <20>i <20><> <20>t <20>C
|
2007-10-07 17:15:49 +05:30
|
|
|
|
<EFBFBD>w <20>] <20><> <20><> <20>p <20><> <20>o <20>p <20><> 500 <20><> <20>v <20><> <20>W <20>[ <20>C 0~999 <20><> <20><> <20>W
|
2007-10-07 17:15:23 +05:30
|
|
|
|
<EFBFBD>O <20>O <20>d <20><> \fI<EFBFBD>t<EFBFBD>αb<EFBFBD><EFBFBD>\fR <20><> <20><> <20>C
|
|
|
|
|
.IP \fB-r\fR
|
|
|
|
|
<EFBFBD><EFBFBD> <20><> <20><> <20>O <20><> <20><> <20><> <20><> \fI<EFBFBD>t<EFBFBD>αb<EFBFBD><EFBFBD>\fR <20>C
|
|
|
|
|
<EFBFBD><EFBFBD> UID <20>| <20><> <20>w <20>q <20>b <20>t <20><> <20><> <20>W /etc/login.defs.
|
|
|
|
|
<EFBFBD><EFBFBD> UID_MIN <20><> <20><> <20>p <20>C <20>` <20>N useradd <20><> <20><> <20>k <20><> <20><>
|
|
|
|
|
<EFBFBD><EFBFBD> <20><> <20>b <20><> <20><> <20>| <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20>A <20>] <20><> <20>|
|
|
|
|
|
<EFBFBD>b <20>G <20><> <20><> <20>b /etc/login.defs. <20><> <20>w <20>q <20><> <20>C <20>p
|
|
|
|
|
<EFBFBD>G <20>A <20>Q <20>n <20><> <20><> <20><> <20><> <20><> <20><> <20><> <20>B <20>~ <20><> <20>w -m <20><>
|
|
|
|
|
<EFBFBD><EFBFBD> <20><> <20><> <20><> <20>t <20><> <20>b <20><> <20>C <20>o <20>O RED HAT <20>B <20>~ <20>W
|
|
|
|
|
<EFBFBD>] <20><> <20><> <20><> <20>C
|
2007-10-07 17:15:49 +05:30
|
|
|
|
<EFBFBD><EFBFBD> <20>| <20><> <20><> <20><> <20>A <20><> <20>w <20>@ <20><> <20>p <20><> 999 <20><> \fIgif\fR
|
2007-10-07 17:15:23 +05:30
|
|
|
|
<EFBFBD><EFBFBD> <20><> <20>n <20>A <20>[ <20>W \fB-g\fR <20><> <20><> <20>C
|
|
|
|
|
.br
|
|
|
|
|
<EFBFBD>o <20>O RED HAT <20>B <20>~ <20>W <20>] <20><> <20><> <20><> <20>C
|
|
|
|
|
|
|
|
|
|
.br
|
|
|
|
|
<EFBFBD>o <20>O RED HAT <20>B <20>~ <20>W <20>] <20><> <20><> <20><> <20>C
|
|
|
|
|
.SH <EFBFBD>ɮ<EFBFBD>
|
|
|
|
|
\fI/etc/group\fR \- <20>s <20><> <20><> <20>T
|
|
|
|
|
.br
|
|
|
|
|
\fI/etc/gshadow\fR \- <20>s <20><> <20><> <20>T <20>[ <20>K
|
|
|
|
|
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.BR chfn (1),
|
|
|
|
|
.BR chsh (1),
|
|
|
|
|
.BR useradd (8),
|
|
|
|
|
.BR userdel (8),
|
|
|
|
|
.BR usermod (8),
|
|
|
|
|
.BR passwd (1),
|
|
|
|
|
.BR groupdel (8),
|
|
|
|
|
.BR groupmod (8)
|
|
|
|
|
.SH <EFBFBD>@<40><>
|
|
|
|
|
Julianne Frances Haugh (jfh@tab.com)
|