2007-10-07 17:15:58 +05:30
|
|
|
|
.\" $Id: chpasswd.8,v 1.7 2004/12/13 01:24:14 kloczek Exp $
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" {PTM/WK/1999-09-16}
|
|
|
|
|
.\" 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 CHPASSWD 8
|
|
|
|
|
.SH NAZWA
|
2007-10-07 17:15:58 +05:30
|
|
|
|
\fBchpasswd\fR - wsadowa aktualizacja pliku hase<73>
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:14:51 +05:30
|
|
|
|
\fBchpasswd\fR [\fI-e\fR]
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH OPIS
|
2007-10-07 17:15:58 +05:30
|
|
|
|
\fBchpasswd\fR odczytuje pary danych (u<>ytkownik i has<61>o) ze standardowego
|
|
|
|
|
wej<EFBFBD>cia. Odczytane informacje wykorzystywane s<> do aktualizacji danych o
|
|
|
|
|
grupie istniej<65>cych u<>ytkownik<69>w.
|
|
|
|
|
Ka<EFBFBD>dy wiersz przekazywanych danych ma posta<74>:
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.sp 1
|
|
|
|
|
\fInazwa_U<EFBFBD>ytkownika\fR:\fIhas<EFBFBD>o\fR
|
|
|
|
|
.sp 1
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Domy<EFBFBD>lnie dostarczane has<61>a musz<73> by<62> w postaci jawnej. Podczas kodowania
|
|
|
|
|
hase<EFBFBD> u<>ywany jest domy<6D>lniealgorytm DES. W trakcie zmiany has<61>a aktualizowany
|
|
|
|
|
jest tak<61>e wiek has<61>a.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.PP
|
|
|
|
|
Polecenie to przeznaczone jest do u<>ytku w du<64>ych systemach, gdzie aktualizuje
|
|
|
|
|
si<EFBFBD> wiele kont naraz.
|
2007-10-07 17:15:58 +05:30
|
|
|
|
.SH OPCJE
|
|
|
|
|
Polecenie \fBchpasswd\fR posiada nast<73>puj<75>ce opcje:
|
|
|
|
|
.IP "\fB-e\fR, \fB--encrypted\fR"
|
|
|
|
|
Dostarczone na standardowe wej<65>cie has<61>a s<> traktowane jako ju<6A> zakodowane.
|
|
|
|
|
.IP "\fB-h\fR, \fB--help\fR"
|
|
|
|
|
Wy<EFBFBD>wietla kr<6B>tk<74> informacj<63> o tym jak u<>ywa<77> program i zako<6B>czy prac<61>.
|
|
|
|
|
.IP "\fB-m\fR, \fB--md5\fR"
|
|
|
|
|
Je<EFBFBD>eli dpostarczane has<61>a s<> w postaci jawnej u<>yj kodowania MD5 zamiast
|
|
|
|
|
domy<EFBFBD>lnego DES.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH PRZESTROGI
|
|
|
|
|
.\" Po u<>yciu \fBchpasswd\fR musi zosta<74> wykonane polecenie \fImkpasswd\fR,
|
|
|
|
|
.\" aktualizuj<75>ce pliki DBM hase<73> (DBM password files).
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Pami<EFBFBD>taj <20>eby zabezpieczy<7A> przed odczytem plik przekazywany na standardowe
|
|
|
|
|
wej<EFBFBD>cie polecenia \fBchpasswd\fR o ile zaiwiera on has<61>a w postaci jawnej.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" Polecenie to mo<6D>e by<62> zaniechane na rzecz polecenia newusers(8).
|
|
|
|
|
.SH ZOBACZ TAK<EFBFBD>E
|
|
|
|
|
.\" mkpasswd(8), passwd(1), useradd(1)
|
|
|
|
|
.BR passwd (1),
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.BR newusers (8),
|
|
|
|
|
.BR useradd (8)
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH AUTOR
|
|
|
|
|
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
|