2007-10-07 17:16:07 +05:30
|
|
|
|
.\" $Id: newusers.8,v 1.5 2005/04/05 18:47:51 kloczek Exp $
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" Copyright 1991 - 1994, 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 NEWUSERS 8
|
|
|
|
|
.SH NAZWA
|
2007-10-07 17:16:07 +05:30
|
|
|
|
newusers \- wsadowa aktualizacja i tworzenie nowych u<>ytkownik<69>w
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:14:51 +05:30
|
|
|
|
\fBnewusers\fR [\fInowi_u<EFBFBD>ytkownicy\fR]
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH OPIS
|
|
|
|
|
\fBnewusers\fR odczytuje plik zawieraj<61>cy pary: nazwa u<>ytkownika i podane
|
|
|
|
|
jawnym tekstem has<61>o. Odczytan<61> informacj<63> wykorzystuje do aktualizacji grupy
|
|
|
|
|
istniej<EFBFBD>cych u<>ytkownik<69>w lub utworzenia nowych.
|
|
|
|
|
Ka<EFBFBD>dy wiersz pliku posiada taki sam format jak standardowy plik hase<73> (patrz
|
|
|
|
|
\fBpasswd\fR(5)), z nast<73>puj<75>cymi wyj<79>tkami:
|
|
|
|
|
.IP "\fIpw_passwd\fR" 10
|
|
|
|
|
To pole zostanie zakodowane i u<>yte jako nowa warto<74><6F> zakodowanego has<61>a.
|
|
|
|
|
.IP "\fIpw_age\fR"
|
|
|
|
|
Dla chronionych hase<73> (shadow) pole zostanie zignorowane je<6A>li u<>ytkownik ju<6A>
|
|
|
|
|
istnieje.
|
|
|
|
|
.IP "\fIpw_gid\fR"
|
|
|
|
|
Pole to mo<6D>e zawiera<72> nazw<7A> istniej<65>cej grupy. Dany u<>ytkownik zostanie
|
|
|
|
|
w<EFBFBD>wczas dodany do jej cz<63>onk<6E>w. Je<4A>eli podano numeryczny identyfikator
|
|
|
|
|
nieistniej<EFBFBD>cej grupy, to zostanie za<7A>o<EFBFBD>ona nowa grupa o tym identyfikatorze.
|
|
|
|
|
.IP "\fIpw_dir\fR"
|
|
|
|
|
Zostanie wykonane sprawdzenie czy istnieje katalog o tej nazwie. Je<4A>eli nie,
|
|
|
|
|
to b<>dzie on utworzony. W<>a<EFBFBD>cicielem zostanie ustanowiony tworzony
|
|
|
|
|
(lub aktualizowany) u<>ytkownik. Grupa katalogu zostanie ustawiona na grup<75>
|
|
|
|
|
u<EFBFBD>ytkownika.
|
|
|
|
|
.PP
|
|
|
|
|
Polecenie to przeznaczone jest do u<>ytku w du<64>ych systemach, gdzie aktualizuje
|
|
|
|
|
si<EFBFBD> wiele kont naraz.
|
|
|
|
|
Plik <20>r<EFBFBD>d<EFBFBD>owy, zawieraj<61>cy niezakodowane has<61>a, musi by<62> chroniony.
|
|
|
|
|
.SH ZOBACZ TAK<EFBFBD>E
|
|
|
|
|
.BR passwd (1),
|
|
|
|
|
.BR useradd (8)
|
|
|
|
|
.SH AUTOR
|
|
|
|
|
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
|