2007-10-07 17:15:40 +05:30
|
|
|
|
.\" $Id: groupadd.8,v 1.10 2004/08/04 13:02:25 kloczek Exp $
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" {PTM/WK/0.1/VIII-1999}
|
|
|
|
|
.\" 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.
|
|
|
|
|
.TH GROUPADD 8
|
|
|
|
|
.SH NAZWA
|
|
|
|
|
groupadd - tw<74>rz now<6F> grup<75>
|
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:15:23 +05:30
|
|
|
|
\fBgroupadd\fR [\fB-g\fR \fIgid\fR [\fB-o\fR]] [\fB-f\fR] \fIgrupa\fR
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH OPIS
|
|
|
|
|
Polecenie \fBgroupadd\fR tworzy nowe konto grupy pos<6F>uguj<75>c si<73>
|
|
|
|
|
warto<EFBFBD>ciami podanymi w wierszu polece<63> i domy<6D>lnymi warto<74>ciami z systemu.
|
|
|
|
|
W razie potrzeby zostanie wprowadzona do systemu nowa grupa.
|
2007-10-07 17:15:23 +05:30
|
|
|
|
Polecenie \fBgroupadd\fR posiada nast<73>puj<75>ce opcje:
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.TP
|
2007-10-07 17:15:40 +05:30
|
|
|
|
.BI -f
|
|
|
|
|
Ta opcja powoduje zako<6B>czenie programu ze statusem oznaczaj<61>cym sukces je<6A>li
|
|
|
|
|
podana groupa ju<6A> istnieje. Z opcj<63> \fB-g\fR, je<6A>li podany gid ju<6A> istnieje,
|
|
|
|
|
wybierany jest inny (unikalny) gid (czyli \fB-g\fR jest wy<77><79>czane).
|
|
|
|
|
.TP
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.BI -g " gid"
|
|
|
|
|
Numeryczna warto<74><6F> identyfikatora grupy. Warto<74><6F> ta musi by<62> niepowtarzalna,
|
|
|
|
|
chyba <20>e u<>yto opcji \fB-o\fR. Warto<74><6F> ID grupy nie mo<6D>e by<62> ujemna. Domy<6D>lnie
|
|
|
|
|
u<EFBFBD>ywana jest najmniejsza warto<74><6F> identyfikatora wi<77>ksza ni<6E> 99 a wi<77>ksza ni<6E>
|
|
|
|
|
jakiejkolwiek innej grupy.
|
|
|
|
|
Warto<EFBFBD>ci mi<6D>dzy 0 a 99 s<> zwykle zarezerwowane dla kont systemowych.
|
|
|
|
|
.SH PLIKI
|
2007-10-07 17:15:23 +05:30
|
|
|
|
\fI/etc/group\fR \- informacja o kontach grup
|
|
|
|
|
.br
|
|
|
|
|
\fI/etc/gshadow\fR \- bezpieczna informacja o kontach grup
|
|
|
|
|
.SH KOD ZAKO<EFBFBD>CZENIA
|
|
|
|
|
.TP 2
|
|
|
|
|
Polecenie \fBgroupadd\fR ko<6B>czy dzia<69>anie z nast<73>puj<75>cymi warto<74>ciami kod<6F>w zako<6B>czenia:
|
|
|
|
|
.br
|
|
|
|
|
\fB0\fR \- powodzenie
|
|
|
|
|
.br
|
|
|
|
|
\fB2\fR \- niew<65>a<EFBFBD>ciwa sk<73>adnia parametr<74>w polecenia
|
|
|
|
|
.br
|
|
|
|
|
\fB3\fR \- niew<65>a<EFBFBD>ciwe parametry opcji
|
|
|
|
|
.br
|
|
|
|
|
\fB4\fR \- uid jest ju<6A> u<>ywany (i nie u<>yto opcji -o)
|
|
|
|
|
.br
|
|
|
|
|
\fB9\fR \- nazwa groupy nie jest unikalna
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
2007-10-07 17:15:23 +05:30
|
|
|
|
\fB10\fR \- niemo<6D>liwa aktualizacja plik<69>w grup
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH ZOBACZ TAK<EFBFBD>E
|
|
|
|
|
.BR chfn (1),
|
|
|
|
|
.BR chsh (1),
|
|
|
|
|
.BR passwd (1),
|
|
|
|
|
.BR groupdel (8),
|
|
|
|
|
.BR groupmod (8).
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.BR useradd (8),
|
|
|
|
|
.BR userdel (8),
|
|
|
|
|
.BR usermod (8),
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH AUTOR
|
|
|
|
|
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
|