tizen 2.0
[external/shadow.git] / man / pl / chgpasswd.8
1 '\" t
2 .\"     Title: chgpasswd
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 "CHGPASSWD" "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 chgpasswd \- wsadowa aktualizacja hase\(/l grup
23 .SH "SK\(/LADNIA"
24 .HP \w'\fBchgpasswd\fR\ 'u
25 \fBchgpasswd\fR [\fIopcje\fR]
26 .SH "OPIS"
27 .PP
28 Polecenie
29 \fBchgpasswd\fR
30 czyta pary danych (grupa i has\(/lo) ze standardowego wejścia\&. Odczytane informacje wykorzystywane są do aktualizacji danych o grupach istniejących użytkownik\('ow\&. Każdy wiersz przekazywanych danych ma postać:
31 .PP
32 \fInazwa_grupy\fR:\fIhas\(/lo\fR
33 .PP
34 By default the supplied password must be in clear\-text, and is encrypted by
35 \fBchgpasswd\fR\&.
36 .PP
37 The default encryption algorithm can be defined for the system with the ENCRYPT_METHOD variable of
38 /etc/login\&.defs, and can be overwiten with the
39 \fB\-e\fR,
40 \fB\-m\fR, or
41 \fB\-c\fR
42 options\&.
43 .PP
44 Polecenie to przeznaczone jest do użytku w dużych systemach, gdzie aktualizuje się wiele kont naraz\&.
45 .SH "OPCJE"
46 .PP
47 Polecenie
48 \fBchgpasswd\fR
49 posiada następujące opcje:
50 .PP
51 \fB\-c\fR, \fB\-\-crypt\-method\fR
52 .RS 4
53 Use the specified method to encrypt the passwords\&.
54 .sp
55 The available methods are DES, MD5, NONE, and SHA256 or SHA512 if your libc support these methods\&.
56 .RE
57 .PP
58 \fB\-e\fR, \fB\-\-encrypted\fR
59 .RS 4
60 Dostarczone na standardowe wejście has\(/la są traktowane jako już zakodowane\&.
61 .RE
62 .PP
63 \fB\-h\fR, \fB\-\-help\fR
64 .RS 4
65 Wyświetlenie komunikatu pomocy i zakończenie dzia\(/lania\&.
66 .RE
67 .PP
68 \fB\-m\fR, \fB\-\-md5\fR
69 .RS 4
70 Jeżeli dpostarczane has\(/la są w postaci jawnej użyj kodowania MD5 zamiast domyślnego DES\&.
71 .RE
72 .PP
73 \fB\-s\fR, \fB\-\-sha\-rounds\fR
74 .RS 4
75 Use the specified number of rounds to encrypt the passwords\&.
76 .sp
77 The value 0 means that the system will choose the default number of rounds for the crypt method (5000)\&.
78 .sp
79 A minimal value of 1000 and a maximal value of 999,999,999 will be enforced\&.
80 .sp
81 You can only use this option with the SHA256 or SHA512 crypt method\&.
82 .sp
83 By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in
84 /etc/login\&.defs\&.
85 .RE
86 .SH "OSTRZEŻENIA"
87 .PP
88 Pamiętaj żeby zabezpieczyć przed odczytem plik przekazywany na standardowe wejście polecenia\&.
89 .PP
90 You should make sure the passwords and the encryption method respect the system\'s password policy\&.
91 .SH "CONFIGURATION"
92 .PP
93 The following configuration variables in
94 /etc/login\&.defs
95 change the behavior of this tool:
96 .PP
97 \fBENCRYPT_METHOD\fR (string)
98 .RS 4
99 This defines the system default encryption algorithm for encrypting passwords (if no algorithm are specified on the command line)\&.
100 .sp
101 It can take one of these values:
102 .sp
103 .RS 4
104 .ie n \{\
105 \h'-04'\(bu\h'+03'\c
106 .\}
107 .el \{\
108 .sp -1
109 .IP \(bu 2.3
110 .\}
111 \fIDES\fR
112 (default)
113 .RE
114 .sp
115 .RS 4
116 .ie n \{\
117 \h'-04'\(bu\h'+03'\c
118 .\}
119 .el \{\
120 .sp -1
121 .IP \(bu 2.3
122 .\}
123 \fIMD5\fR
124 .RE
125 .sp
126 .RS 4
127 .ie n \{\
128 \h'-04'\(bu\h'+03'\c
129 .\}
130 .el \{\
131 .sp -1
132 .IP \(bu 2.3
133 .\}
134 \fISHA256\fR
135 .RE
136 .sp
137 .RS 4
138 .ie n \{\
139 \h'-04'\(bu\h'+03'\c
140 .\}
141 .el \{\
142 .sp -1
143 .IP \(bu 2.3
144 .\}
145 \fISHA512\fR
146 .RE
147 .RS 4
148 .sp
149 Note: this parameter overrides the
150 \fBMD5_CRYPT_ENAB\fR
151 variable\&.
152 .RE
153 .PP
154 \fBMAX_MEMBERS_PER_GROUP\fR (number)
155 .RS 4
156 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
157 /etc/group
158 (with the same name, same password, and same GID)\&.
159 .sp
160 The default value is 0, meaning that there are no limits in the number of members in a group\&.
161 .sp
162 This feature (split group) permits to limit the length of lines in the group file\&. This is useful to make sure that lines for NIS groups are not larger than 1024 characters\&.
163 .sp
164 If you need to enforce such limit, you can use 25\&.
165 .sp
166 Note: split groups may not be supported by all tools (even in the Shadow toolsuite)\&. You should not use this variable unless you really need it\&.
167 .RE
168 .PP
169 \fBMD5_CRYPT_ENAB\fR (boolean)
170 .RS 4
171 Indicate if passwords must be encrypted using the MD5\-based algorithm\&. If set to
172 \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
173 \fIno\fR
174 if you need to copy encrypted passwords to other systems which don\'t understand the new algorithm\&. Default is
175 \fIno\fR\&.
176 .sp
177 This variable is superceded by the
178 \fBENCRYPT_METHOD\fR
179 variable or by any command line option used to configure the encryption algorithm\&.
180 .sp
181 This variable is deprecated\&. You should use
182 \fBENCRYPT_METHOD\fR\&.
183 .RE
184 .PP
185 \fBSHA_CRYPT_MIN_ROUNDS\fR (number), \fBSHA_CRYPT_MAX_ROUNDS\fR (number)
186 .RS 4
187 When
188 \fBENCRYPT_METHOD\fR
189 is set to
190 \fISHA256\fR
191 or
192 \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)\&.
193 .sp
194 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\&.
195 .sp
196 If not specified, the libc will choose the default number of rounds (5000)\&.
197 .sp
198 The values must be inside the 1000\-999999999 range\&.
199 .sp
200 If only one of the
201 \fBSHA_CRYPT_MIN_ROUNDS\fR
202 or
203 \fBSHA_CRYPT_MAX_ROUNDS\fR
204 values is set, then this value will be used\&.
205 .sp
206 If
207 \fBSHA_CRYPT_MIN_ROUNDS\fR
208 >
209 \fBSHA_CRYPT_MAX_ROUNDS\fR, the highest value will be used\&.
210 .RE
211 .SH "PLIKI"
212 .PP
213 /etc/group
214 .RS 4
215 Informacje o grupach użytkownik\('ow\&.
216 .RE
217 .PP
218 /etc/gshadow
219 .RS 4
220 Informacje chronione o grupach użytkownik\('ow\&.
221 .RE
222 .PP
223 /etc/login\&.defs
224 .RS 4
225 Konfiguracja pakietu shadow\&.
226 .RE
227 .SH "ZOBACZ TAKŻE"
228 .PP
229
230 \fBgpasswd\fR(1),
231 \fBgroupadd\fR(8),
232 \fBlogin.defs\fR(5)\&.