2007-10-07 17:16:07 +05:30
|
|
|
|
.\" $Id: groupmod.8,v 1.13 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 GROUPMOD 8
|
|
|
|
|
.SH NAZWA
|
2007-10-07 17:16:07 +05:30
|
|
|
|
groupmod \- zmie<69> dane grupy
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:16:07 +05:30
|
|
|
|
\fBgroupmod\fR [\fB\-g\fR \fIGID\fR [\fB\-o\fR]] [\fB\-n\fR \fINOWA_NAZWA_GRUPY\fR]
|
2007-10-07 17:15:58 +05:30
|
|
|
|
\fIGRUPA\fR
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH OPIS
|
|
|
|
|
Polecenie \fBgroupmod\fR modyfikuje systemowe pliki kont tak, by
|
2007-10-07 17:15:49 +05:30
|
|
|
|
odzwierciedli<EFBFBD> w nich zmiany grup podane w wierszu polece<63>.
|
|
|
|
|
.SH OPCJE
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Polecenie \fBgroupmod\fR posiada nast<73>puj<75>ce opcje:
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IP "\fB\-g\fR \fIGID\fR"
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Numeryczna warto<74><6F> identyfikatora grupy (group ID). Warto<74><6F> ta musi by<62>
|
2007-10-07 17:16:07 +05:30
|
|
|
|
niepowtarzalna, chyba <20>e u<>yto opcji \fB\-o\fR. Nie mo<6D>e by<62> ujemna.
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Warto<EFBFBD>ci pomi<6D>dzy 0 a 999 s<> zwykle zarezerwowane dla grup systemowych.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
Pliki, dla kt<6B>rych stary identyfikator jest identyfikatorem
|
|
|
|
|
grupy pliku, wymagaj<61> r<>cznej zmiany ID grupy.
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IP "\fB\-n\fR \fINOWA_NAZWA_GRUPY\fR"
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Nazwa grupy zostanie zmieniona z \fIGRUPA\fR na \fINOWA_NAZWA_GRUPY\fR.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH PLIKI
|
2007-10-07 17:15:23 +05:30
|
|
|
|
\fI/etc/group\fR \- informacja o grupach
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
2007-10-07 17:16:07 +05:30
|
|
|
|
\fI/etc/gshadow\fR \- bezpieczna informacja o grupach
|
2007-10-07 17:15:23 +05:30
|
|
|
|
.SH KOD ZAKO<EFBFBD>CZENIA
|
|
|
|
|
.TP 2
|
|
|
|
|
Polecenie \fBgroupmod\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 \- gid jest ju<6A> u<>ywany (i nie u<>yto opcji \-o)
|
2007-10-07 17:15:23 +05:30
|
|
|
|
.br
|
|
|
|
|
\fB6\fR \- podana grupa nie istnieje
|
|
|
|
|
.br
|
|
|
|
|
\fB9\fR \- grupa jest ju<6A> u<>ywana
|
|
|
|
|
.br
|
|
|
|
|
\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 groupadd (8),
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.BR groupdel (8),
|
|
|
|
|
.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)
|