tizen 2.0
[external/shadow.git] / man / pl / chpasswd.8
1 '\" t
2 .\"     Title: chpasswd
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5 .\"      Date: 07/24/2009
6 .\"    Manual: Polecenia Zarządzania Systemem
7 .\"    Source: Polecenia Zarządzania Systemem
8 .\"  Language: Polish
9 .\"
10 .TH "CHPASSWD" "8" "07/24/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAZWA"
22 chpasswd \- wsadowa aktualizacja hase\(/l użytkownik\('ow
23 .SH "SK\(/LADNIA"
24 .HP \w'\fBchpasswd\fR\ 'u
25 \fBchpasswd\fR [\fIopcje\fR]
26 .SH "OPIS"
27 .PP
28 Polecenie
29 \fBchpasswd\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ć:
31 .PP
32 \fInazwa_użytkownika\fR:\fIhas\(/lo\fR
33 .SS ""
34 .PP
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\&.
37 .PP
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
40 \fB\-e\fR,
41 \fB\-m\fR, or
42 \fB\-c\fR
43 options\&.
44 .PP
45
46 \fBchpasswd\fR
47 first update the password in memory, and then commit all the changes to disk if no errors occured for any users\&.
48 .PP
49 Polecenie to przeznaczone jest do użytku w dużych systemach, gdzie aktualizuje się wiele kont naraz\&.
50 .SH "OPCJE"
51 .PP
52 Polecenie
53 \fBchpasswd\fR
54 posiada następujące opcje:
55 .PP
56 \fB\-c\fR, \fB\-\-crypt\-method\fR
57 .RS 4
58 Use the specified method to encrypt the passwords\&.
59 .sp
60 The available methods are DES, MD5, NONE, and SHA256 or SHA512 if your libc support these methods\&.
61 .RE
62 .PP
63 \fB\-e\fR, \fB\-\-encrypted\fR
64 .RS 4
65 Dostarczone na standardowe wejście has\(/la są traktowane jako już zakodowane\&.
66 .RE
67 .PP
68 \fB\-h\fR, \fB\-\-help\fR
69 .RS 4
70 Wyświetlenie komunikatu pomocy i zakończenie dzia\(/lania\&.
71 .RE
72 .PP
73 \fB\-m\fR, \fB\-\-md5\fR
74 .RS 4
75 Jeżeli dpostarczane has\(/la są w postaci jawnej użyj kodowania MD5 zamiast domyślnego DES\&.
76 .RE
77 .PP
78 \fB\-s\fR, \fB\-\-sha\-rounds\fR
79 .RS 4
80 Use the specified number of rounds to encrypt the passwords\&.
81 .sp
82 The value 0 means that the system will choose the default number of rounds for the crypt method (5000)\&.
83 .sp
84 A minimal value of 1000 and a maximal value of 999,999,999 will be enforced\&.
85 .sp
86 You can only use this option with the SHA256 or SHA512 crypt method\&.
87 .sp
88 By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in
89 /etc/login\&.defs\&.
90 .RE
91 .SH "OSTRZEŻENIA"
92 .PP
93 Pamiętaj żeby zabezpieczyć przed odczytem plik przekazywany na standardowe wejście polecenia\&.
94 .PP
95 You should make sure the passwords and the encryption method respect the system\'s password policy\&.
96 .SH "CONFIGURATION"
97 .PP
98 The following configuration variables in
99 /etc/login\&.defs
100 change the behavior of this tool:
101 .PP
102 \fBENCRYPT_METHOD\fR (string)
103 .RS 4
104 This defines the system default encryption algorithm for encrypting passwords (if no algorithm are specified on the command line)\&.
105 .sp
106 It can take one of these values:
107 .sp
108 .RS 4
109 .ie n \{\
110 \h'-04'\(bu\h'+03'\c
111 .\}
112 .el \{\
113 .sp -1
114 .IP \(bu 2.3
115 .\}
116 \fIDES\fR
117 (default)
118 .RE
119 .sp
120 .RS 4
121 .ie n \{\
122 \h'-04'\(bu\h'+03'\c
123 .\}
124 .el \{\
125 .sp -1
126 .IP \(bu 2.3
127 .\}
128 \fIMD5\fR
129 .RE
130 .sp
131 .RS 4
132 .ie n \{\
133 \h'-04'\(bu\h'+03'\c
134 .\}
135 .el \{\
136 .sp -1
137 .IP \(bu 2.3
138 .\}
139 \fISHA256\fR
140 .RE
141 .sp
142 .RS 4
143 .ie n \{\
144 \h'-04'\(bu\h'+03'\c
145 .\}
146 .el \{\
147 .sp -1
148 .IP \(bu 2.3
149 .\}
150 \fISHA512\fR
151 .RE
152 .RS 4
153 .sp
154 Note: this parameter overrides the
155 \fBMD5_CRYPT_ENAB\fR
156 variable\&.
157 .RE
158 .PP
159 \fBMD5_CRYPT_ENAB\fR (boolean)
160 .RS 4
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
163 \fIno\fR
164 if you need to copy encrypted passwords to other systems which don\'t understand the new algorithm\&. Default is
165 \fIno\fR\&.
166 .sp
167 This variable is superceded by the
168 \fBENCRYPT_METHOD\fR
169 variable or by any command line option used to configure the encryption algorithm\&.
170 .sp
171 This variable is deprecated\&. You should use
172 \fBENCRYPT_METHOD\fR\&.
173 .RE
174 .PP
175 \fBSHA_CRYPT_MIN_ROUNDS\fR (number), \fBSHA_CRYPT_MAX_ROUNDS\fR (number)
176 .RS 4
177 When
178 \fBENCRYPT_METHOD\fR
179 is set to
180 \fISHA256\fR
181 or
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)\&.
183 .sp
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\&.
185 .sp
186 If not specified, the libc will choose the default number of rounds (5000)\&.
187 .sp
188 The values must be inside the 1000\-999999999 range\&.
189 .sp
190 If only one of the
191 \fBSHA_CRYPT_MIN_ROUNDS\fR
192 or
193 \fBSHA_CRYPT_MAX_ROUNDS\fR
194 values is set, then this value will be used\&.
195 .sp
196 If
197 \fBSHA_CRYPT_MIN_ROUNDS\fR
198 >
199 \fBSHA_CRYPT_MAX_ROUNDS\fR, the highest value will be used\&.
200 .RE
201 .SH "PLIKI"
202 .PP
203 /etc/passwd
204 .RS 4
205 Informacja o kontach użytkownik\('ow\&.
206 .RE
207 .PP
208 /etc/shadow
209 .RS 4
210 Informacje chronione o użytkownikach\&.
211 .RE
212 .PP
213 /etc/login\&.defs
214 .RS 4
215 Konfiguracja pakietu shadow\&.
216 .RE
217 .SH "ZOBACZ TAKŻE"
218 .PP
219
220 \fBpasswd\fR(1),
221 \fBnewusers\fR(8),
222 \fBlogin.defs\fR(5),
223 \fBuseradd\fR(8)\&.