3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6 .\" Manual: Polecenia Zarządzania Systemem
7 .\" Source: Polecenia Zarządzania Systemem
10 .TH "CHPASSWD" "8" "07/24/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 chpasswd \- wsadowa aktualizacja hase\(/l użytkownik\('ow
24 .HP \w'\fBchpasswd\fR\ 'u
25 \fBchpasswd\fR [\fIopcje\fR]
30 czyta pary danych (użytkownik i has\(/lo) ze standardowego wejścia\&. Odczytane informacje wykorzystywane są do aktualizacji danych o grupie istniejących użytkownik\('ow\&. Każdy wiersz przekazywanych danych ma postać:
32 \fInazwa_użytkownika\fR:\fIhas\(/lo\fR
35 By default the supplied password must be in clear\-text, and is encrypted by
36 \fBchpasswd\fR\&. Also the password age will be updated, if present\&.
38 The default encryption algorithm can be defined for the system with the ENCRYPT_METHOD variable of
39 /etc/login\&.defs, and can be overwiten with the
47 first update the password in memory, and then commit all the changes to disk if no errors occured for any users\&.
49 Polecenie to przeznaczone jest do użytku w dużych systemach, gdzie aktualizuje się wiele kont naraz\&.
54 posiada następujące opcje:
56 \fB\-c\fR, \fB\-\-crypt\-method\fR
58 Use the specified method to encrypt the passwords\&.
60 The available methods are DES, MD5, NONE, and SHA256 or SHA512 if your libc support these methods\&.
63 \fB\-e\fR, \fB\-\-encrypted\fR
65 Dostarczone na standardowe wejście has\(/la są traktowane jako już zakodowane\&.
68 \fB\-h\fR, \fB\-\-help\fR
70 Wyświetlenie komunikatu pomocy i zakończenie dzia\(/lania\&.
73 \fB\-m\fR, \fB\-\-md5\fR
75 Jeżeli dpostarczane has\(/la są w postaci jawnej użyj kodowania MD5 zamiast domyślnego DES\&.
78 \fB\-s\fR, \fB\-\-sha\-rounds\fR
80 Use the specified number of rounds to encrypt the passwords\&.
82 The value 0 means that the system will choose the default number of rounds for the crypt method (5000)\&.
84 A minimal value of 1000 and a maximal value of 999,999,999 will be enforced\&.
86 You can only use this option with the SHA256 or SHA512 crypt method\&.
88 By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in
93 Pamiętaj żeby zabezpieczyć przed odczytem plik przekazywany na standardowe wejście polecenia\&.
95 You should make sure the passwords and the encryption method respect the system\'s password policy\&.
98 The following configuration variables in
100 change the behavior of this tool:
102 \fBENCRYPT_METHOD\fR (string)
104 This defines the system default encryption algorithm for encrypting passwords (if no algorithm are specified on the command line)\&.
106 It can take one of these values:
154 Note: this parameter overrides the
159 \fBMD5_CRYPT_ENAB\fR (boolean)
161 Indicate if passwords must be encrypted using the MD5\-based algorithm\&. If set to
162 \fIyes\fR, new passwords will be encrypted using the MD5\-based algorithm compatible with the one used by recent releases of FreeBSD\&. It supports passwords of unlimited length and longer salt strings\&. Set to
164 if you need to copy encrypted passwords to other systems which don\'t understand the new algorithm\&. Default is
167 This variable is superceded by the
169 variable or by any command line option used to configure the encryption algorithm\&.
171 This variable is deprecated\&. You should use
172 \fBENCRYPT_METHOD\fR\&.
175 \fBSHA_CRYPT_MIN_ROUNDS\fR (number), \fBSHA_CRYPT_MAX_ROUNDS\fR (number)
182 \fISHA512\fR, this defines the number of SHA rounds used by the encryption algorithm by default (when the number of rounds is not specified on the command line)\&.
184 With a lot of rounds, it is more difficult to brute forcing the password\&. But note also that more CPU resources will be needed to authenticate users\&.
186 If not specified, the libc will choose the default number of rounds (5000)\&.
188 The values must be inside the 1000\-999999999 range\&.
191 \fBSHA_CRYPT_MIN_ROUNDS\fR
193 \fBSHA_CRYPT_MAX_ROUNDS\fR
194 values is set, then this value will be used\&.
197 \fBSHA_CRYPT_MIN_ROUNDS\fR
199 \fBSHA_CRYPT_MAX_ROUNDS\fR, the highest value will be used\&.
205 Informacja o kontach użytkownik\('ow\&.
210 Informacje chronione o użytkownikach\&.
215 Konfiguracja pakietu shadow\&.