2007-10-07 17:15:49 +05:30
|
|
|
|
.\" $Id: groupmod.8,v 1.10 2004/11/04 03:06:32 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 GROUPMOD 8
|
|
|
|
|
.SH NAZWA
|
|
|
|
|
groupmod - zmie<69> dane grupy
|
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:14:51 +05:30
|
|
|
|
\fBgroupmod\fR [\fB-g\fR \fIgid\fR [\fB-o\fR]] [\fB-n\fR \fInazwa_grupy\fR]
|
|
|
|
|
\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
|
|
|
|
|
Obs<EFBFBD>uguje ono nast<73>puj<75>ce opcje:
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.TP
|
|
|
|
|
.BI -g " gid"
|
|
|
|
|
Numeryczna warto<74><6F> identyfikatora grupy (group ID).
|
|
|
|
|
Warto<EFBFBD><EFBFBD> ta musi by<62> niepowtarzalna, chyba <20>e u<>yto opcji \fB-o\fR.
|
2007-10-07 17:15:49 +05:30
|
|
|
|
Nie mo<6D>e by<62> ujemna. Warto<74>ci pomi<6D>dzy 0 a 999 s<> zwykle zarezerwowane
|
2007-10-07 17:14:44 +05:30
|
|
|
|
dla grup systemowych.
|
|
|
|
|
Pliki, dla kt<6B>rych stary identyfikator jest identyfikatorem
|
|
|
|
|
grupy pliku, wymagaj<61> r<>cznej zmiany ID grupy.
|
|
|
|
|
.TP
|
|
|
|
|
.BI -n " nazwa_grupy"
|
|
|
|
|
Nazwa grupy zostanie zmieniona z \fIgrupa\fR na \fInazwa_grupy\fR.
|
|
|
|
|
.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:15:23 +05:30
|
|
|
|
\fI/etc/gshadow\fI \- bezpieczna informacja o grupach
|
|
|
|
|
.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
|
|
|
|
|
\fB4\fR \- gid jest ju<6A> u<>ywany (i nie u<>yto opcji -o)
|
|
|
|
|
.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)
|