2007-10-07 17:16:07 +05:30
|
|
|
|
.\" $Id: groupadd.8,v 1.14 2005/04/05 18:47:51 kloczek Exp $
|
2007-10-07 17:14:44 +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.
|
|
|
|
|
.TH GROUPADD 8
|
|
|
|
|
.SH NAZWA
|
2007-10-07 17:16:07 +05:30
|
|
|
|
groupadd \- tw<74>rz now<6F> grup<75>
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:16:07 +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:49 +05:30
|
|
|
|
.SH OPCJE
|
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:16:07 +05:30
|
|
|
|
.BI \-f
|
2007-10-07 17:15:40 +05:30
|
|
|
|
Ta opcja powoduje zako<6B>czenie programu ze statusem oznaczaj<61>cym sukces je<6A>li
|
2007-10-07 17:16:07 +05:30
|
|
|
|
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).
|
2007-10-07 17:15:40 +05:30
|
|
|
|
.TP
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.BI \-g " gid"
|
2007-10-07 17:14:44 +05:30
|
|
|
|
Numeryczna warto<74><6F> identyfikatora grupy. Warto<74><6F> ta musi by<62> niepowtarzalna,
|
2007-10-07 17:16:07 +05:30
|
|
|
|
chyba <20>e u<>yto opcji \fB\-o\fR. Warto<74><6F> ID grupy nie mo<6D>e by<62> ujemna. Domy<6D>lnie
|
2007-10-07 17:15:49 +05:30
|
|
|
|
u<EFBFBD>ywana jest najmniejsza warto<74><6F> identyfikatora wi<77>ksza ni<6E> 999 a wi<77>ksza ni<6E>
|
2007-10-07 17:14:44 +05:30
|
|
|
|
jakiejkolwiek innej grupy.
|
2007-10-07 17:15:49 +05:30
|
|
|
|
Warto<EFBFBD>ci mi<6D>dzy 0 a 999 s<> zwykle zarezerwowane dla kont systemowych.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.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
|
2007-10-07 17:16:07 +05:30
|
|
|
|
\fB4\fR \- uid jest ju<6A> u<>ywany (i nie u<>yto opcji \-o)
|
2007-10-07 17:15:23 +05:30
|
|
|
|
.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)
|