2007-10-07 17:17:11 +05:30
|
|
|
.\" $Id: groupmod.8,v 1.14 2005/12/01 20:38:27 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:17:11 +05:30
|
|
|
groupmod \- zmień dane grupy
|
|
|
|
.SH SKŁ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:17:11 +05:30
|
|
|
odzwierciedlić w nich zmiany grup podane w wierszu poleceń.
|
2007-10-07 17:15:49 +05:30
|
|
|
.SH OPCJE
|
2007-10-07 17:17:11 +05:30
|
|
|
Polecenie \fBgroupmod\fR posiada następujące opcje:
|
2007-10-07 17:16:07 +05:30
|
|
|
.IP "\fB\-g\fR \fIGID\fR"
|
2007-10-07 17:17:11 +05:30
|
|
|
Numeryczna wartość identyfikatora grupy (group ID). Wartość ta musi być
|
|
|
|
niepowtarzalna, chyba że użyto opcji \fB\-o\fR. Nie może być ujemna.
|
|
|
|
Wartości pomiędzy 0 a 999 są zwykle zarezerwowane dla grup systemowych.
|
|
|
|
Pliki, dla których stary identyfikator jest identyfikatorem
|
|
|
|
grupy pliku, wymagają 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:17:11 +05:30
|
|
|
.SH KOD ZAKOŃCZENIA
|
2007-10-07 17:15:23 +05:30
|
|
|
.TP 2
|
2007-10-07 17:17:11 +05:30
|
|
|
Polecenie \fBgroupmod\fR kończy działanie z następującymi wartościami kodów zakończenia:
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
|
|
|
\fB0\fR \- powodzenie
|
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fB2\fR \- niewłaściwa składnia parametrów polecenia
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fB3\fR \- niewłaściwe parametry opcji
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fB4\fR \- gid jest już używany (i nie użyto opcji \-o)
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
|
|
|
\fB6\fR \- podana grupa nie istnieje
|
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fB9\fR \- grupa jest już używana
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fB10\fR \- niemożliwa aktualizacja plików grup
|
|
|
|
.SH ZOBACZ TAKŻE
|
2007-10-07 17:14:44 +05:30
|
|
|
.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)
|