tizen 2.0
[external/shadow.git] / man / de / passwd.1
1 '\" t
2 .\"     Title: passwd
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: 24.07.2009
6 .\"    Manual: Dienstprogramme f\(:ur Benutzer
7 .\"    Source: Dienstprogramme f\(:ur Benutzer
8 .\"  Language: German
9 .\"
10 .TH "PASSWD" "1" "24.07.2009" "Dienstprogramme f\(:ur Benutzer" "Dienstprogramme f\(:ur Benutzer"
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 "NAME"
22 passwd \- \(:andert das Passwort eines Benutzers
23 .SH "SYNOPSIS"
24 .HP \w'\fBpasswd\fR\ 'u
25 \fBpasswd\fR [\fIOptionen\fR] [\fILOGIN\fR]
26 .SH "BESCHREIBUNG"
27 .PP
28 The
29 \fBpasswd\fR
30 command changes passwords for user accounts\&. A normal user may only change the password for his/her own account, while the superuser may change the password for any account\&.
31 \fBpasswd\fR
32 also changes the account or associated password validity period\&.
33 .SS "Ver\(:andern des Passworts"
34 .PP
35 The user is first prompted for his/her old password, if one is present\&. This password is then encrypted and compared against the stored password\&. The user has only one chance to enter the correct password\&. The superuser is permitted to bypass this step so that forgotten passwords may be changed\&.
36 .PP
37 Nachdem das Passwort eingegeben wurde, werden Informationen \(:uber die G\(:ultigkeitsdauer des Passworts abgefragt, um festzustellen, ob der Benutzer das Passwort zu dieser Zeit ver\(:andern darf\&. Wenn nicht, lehnt
38 \fBpasswd\fR
39 die \(:Anderung des Passworts ab und beendet sich\&.
40 .PP
41 Der Benutzer wird dann aufgefordert, zweimal ein neues Passwort einzugeben\&. Beide Eingaben werden miteinander verglichen\&. Sie m\(:ussen \(:ubereinstimmen, damit das Passwort ge\(:andert wird\&.
42 .PP
43 Anschlie\(ssend wird das Passwort auf seine Komplexit\(:at \(:uberpr\(:uft\&. Eine allgemeine Richtlinie ist, dass Passw\(:orter aus sechs bis acht Zeichen bestehen sollten und ein oder mehrere Zeichen aus folgenden Mengen enthalten sollten:
44 .sp
45 .RS 4
46 .ie n \{\
47 \h'-04'\(bu\h'+03'\c
48 .\}
49 .el \{\
50 .sp -1
51 .IP \(bu 2.3
52 .\}
53 Kleinbuchstaben
54 .RE
55 .sp
56 .RS 4
57 .ie n \{\
58 \h'-04'\(bu\h'+03'\c
59 .\}
60 .el \{\
61 .sp -1
62 .IP \(bu 2.3
63 .\}
64 Ziffern 0 bis 9
65 .RE
66 .sp
67 .RS 4
68 .ie n \{\
69 \h'-04'\(bu\h'+03'\c
70 .\}
71 .el \{\
72 .sp -1
73 .IP \(bu 2.3
74 .\}
75 Satzzeichen
76 .RE
77 .PP
78 Seien Sie vorsichtig, dass Sie nicht die standardm\(:a\(ssigen L\(:osch\- und Kill\-Zeichen des Systems eingeben\&.
79 \fBpasswd\fR
80 weist Passw\(:orter zur\(:uck, die nicht hinreichend komplex sind\&.
81 .SS "Hinweise zu Benutzerpassw\(:ortern"
82 .PP
83 The security of a password depends upon the strength of the encryption algorithm and the size of the key space\&. The legacy
84 \fIUNIX\fR
85 System encryption method is based on the NBS DES algorithm\&. More recent methods are now recommended (see
86 \fBENCRYPT_METHOD\fR)\&. The size of the key space depends upon the randomness of the password which is selected\&.
87 .PP
88 Gefahren f\(:ur die Sicherheit von Passw\(:ortern kommen gew\(:ohnlich von sorgloser Wahl oder Handhabung des Passworts\&. Daher sollten Sie kein Passwort w\(:ahlen, das in einem W\(:orterbuch auftaucht oder das aufgeschrieben werden muss\&. Das Passwort sollte somit kein echter Name, Ihr Autokennzeichen, Geburtstag oder Ihre Adresse sein\&. All das kann dazu verwendet werden, das Passwort zu erraten, und stellt daher eine Gefahr f\(:ur die Sicherheit Ihres Systems dar\&.
89 .PP
90 You can find advices on how to choose a strong password on http://en\&.wikipedia\&.org/wiki/Password_strength
91 .SH "OPTIONEN"
92 .PP
93 Die Optionen, die vom Befehl
94 \fBpasswd\fR
95 unterst\(:utzt werden, sind:
96 .PP
97 \fB\-a\fR, \fB\-\-all\fR
98 .RS 4
99 Diese Option kann nur in Verbindung mit
100 \fB\-S\fR
101 verwendet werden und f\(:uhrt dazu, dass der Status aller Benutzer angezeigt wird\&.
102 .RE
103 .PP
104 \fB\-d\fR, \fB\-\-delete\fR
105 .RS 4
106 L\(:oscht das Passwort eines Benutzers (macht es leer)\&. Dies ist ein schneller Weg, um das Passwort eines Kontos zu deaktivieren\&. Dem Konto ist dann kein Passwort zugeordnet\&.
107 .RE
108 .PP
109 \fB\-e\fR, \fB\-\-expire\fR
110 .RS 4
111 L\(:asst das Passwort eines Kontos sofort verfallen\&. Im Ergebnis kann damit erreicht werden, dass ein Benutzer beim n\(:achsten Login das Passwort \(:andern muss\&.
112 .RE
113 .PP
114 \fB\-h\fR, \fB\-\-help\fR
115 .RS 4
116 Zeigt die Hilfe an und beendet das Programm\&.
117 .RE
118 .PP
119 \fB\-i\fR, \fB\-\-inactive\fR\fIINAKTIV\fR
120 .RS 4
121 Mit dieser Option wird ein Konto deaktiviert, nachdem das Passwort f\(:ur eine bestimmte Anzahl von Tagen abgelaufen ist\&. Wenn ein Benutzerkonto ein abgelaufenes Passwort f\(:ur l\(:anger als
122 \fIINAKTIV\fR
123 Tage hatte, kann sich der Benutzer nicht mehr auf diesem Konto anmelden\&.
124 .RE
125 .PP
126 \fB\-k\fR, \fB\-\-keep\-tokens\fR
127 .RS 4
128 Indicate password change should be performed only for expired authentication tokens (passwords)\&. The user wishes to keep their non\-expired tokens as before\&.
129 .RE
130 .PP
131 \fB\-l\fR, \fB\-\-lock\fR
132 .RS 4
133 Lock the password of the named account\&. This option disables a password by changing it to a value which matches no possible encrypted value (it adds a \(aa!\(aa at the beginning of the password)\&.
134 .sp
135 Note that this does not disable the account\&. The user may still be able to login using another authentication token (e\&.g\&. an SSH key)\&. To disable the account, administrators should use
136 \fBusermod \-\-expiredate 1\fR
137 (this set the account\'s expire date to Jan 2, 1970)\&.
138 .sp
139 Users with a locked password are not allowed to change their password\&.
140 .RE
141 .PP
142 \fB\-n\fR, \fB\-\-mindays\fR \fIMIN_DAYS\fR
143 .RS 4
144 Setzt die Anzahl von Tagen, die mindestens zwischen zwei \(:Anderungen eines Passworts vergehen m\(:ussen, auf
145 \fIMIN_TAGE\fR\&. Ein Wert von Null in diesem Feld bedeutet, dass der Benutzer sein Passwort jederzeit \(:andern darf\&.
146 .RE
147 .PP
148 \fB\-q\fR, \fB\-\-quiet\fR
149 .RS 4
150 Stiller Modus\&.
151 .RE
152 .PP
153 \fB\-r\fR, \fB\-\-repository\fR\fIPASSWORTDEPOT\fR
154 .RS 4
155 change password in
156 \fIREPOSITORY\fR
157 repository
158 .RE
159 .PP
160 \fB\-S\fR, \fB\-\-status\fR
161 .RS 4
162 Display account status information\&. The status information consists of 7 fields\&. The first field is the user\'s login name\&. The second field indicates if the user account has a locked password (L), has no password (NP), or has a usable password (P)\&. The third field gives the date of the last password change\&. The next four fields are the minimum age, maximum age, warning period, and inactivity period for the password\&. These ages are expressed in days\&.
163 .RE
164 .PP
165 \fB\-u\fR, \fB\-\-unlock\fR
166 .RS 4
167 Unlock the password of the named account\&. This option re\-enables a password by changing the password back to its previous value (to the value before using the
168 \fB\-l\fR
169 option)\&.
170 .RE
171 .PP
172 \fB\-w\fR, \fB\-\-warndays\fR\fIWARN_TAGE\fR
173 .RS 4
174 Legt die Anzahl der Tage fest, an denen der Benutzer eine Warnung erh\(:alt, bevor sein Passwort ung\(:ultig wird\&. Die Option
175 \fIWARN_TAGE\fR
176 bezeichnet die Anzahl der Tage, f\(:ur die ein Benutzer vor Verfall seines Passworts gewarnt wird\&.
177 .RE
178 .PP
179 \fB\-x\fR, \fB\-\-maxdays\fR\fIMAX_TAGE\fR
180 .RS 4
181 Bestimmt die maximale Anzahl von Tagen, die das Passwort g\(:ultig bleibt\&. Nach
182 \fIMAX_TAGE\fR
183 Tagen muss das Passwort ge\(:andert werden\&.
184 .RE
185 .SH "WARNUNGEN"
186 .PP
187 Password complexity checking may vary from site to site\&. The user is urged to select a password as complex as he or she feels comfortable with\&.
188 .PP
189 Users may not be able to change their password on a system if NIS is enabled and they are not logged into the NIS server\&.
190 .SH "CONFIGURATION"
191 .PP
192 The following configuration variables in
193 /etc/login\&.defs
194 change the behavior of this tool:
195 .PP
196 \fBENCRYPT_METHOD\fR (string)
197 .RS 4
198 This defines the system default encryption algorithm for encrypting passwords (if no algorithm are specified on the command line)\&.
199 .sp
200 It can take one of these values:
201 .sp
202 .RS 4
203 .ie n \{\
204 \h'-04'\(bu\h'+03'\c
205 .\}
206 .el \{\
207 .sp -1
208 .IP \(bu 2.3
209 .\}
210 \fIDES\fR
211 (default)
212 .RE
213 .sp
214 .RS 4
215 .ie n \{\
216 \h'-04'\(bu\h'+03'\c
217 .\}
218 .el \{\
219 .sp -1
220 .IP \(bu 2.3
221 .\}
222 \fIMD5\fR
223 .RE
224 .sp
225 .RS 4
226 .ie n \{\
227 \h'-04'\(bu\h'+03'\c
228 .\}
229 .el \{\
230 .sp -1
231 .IP \(bu 2.3
232 .\}
233 \fISHA256\fR
234 .RE
235 .sp
236 .RS 4
237 .ie n \{\
238 \h'-04'\(bu\h'+03'\c
239 .\}
240 .el \{\
241 .sp -1
242 .IP \(bu 2.3
243 .\}
244 \fISHA512\fR
245 .RE
246 .RS 4
247 .sp
248 Note: this parameter overrides the
249 \fBMD5_CRYPT_ENAB\fR
250 variable\&.
251 .RE
252 .PP
253 \fBMD5_CRYPT_ENAB\fR (boolean)
254 .RS 4
255 Indicate if passwords must be encrypted using the MD5\-based algorithm\&. If set to
256 \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
257 \fIno\fR
258 if you need to copy encrypted passwords to other systems which don\'t understand the new algorithm\&. Default is
259 \fIno\fR\&.
260 .sp
261 This variable is superceded by the
262 \fBENCRYPT_METHOD\fR
263 variable or by any command line option used to configure the encryption algorithm\&.
264 .sp
265 This variable is deprecated\&. You should use
266 \fBENCRYPT_METHOD\fR\&.
267 .RE
268 .PP
269 \fBOBSCURE_CHECKS_ENAB\fR (boolean)
270 .RS 4
271 Enable additional checks upon password changes\&.
272 .RE
273 .PP
274 \fBPASS_ALWAYS_WARN\fR (boolean)
275 .RS 4
276 Warn about weak passwords (but still allow them) if you are root\&.
277 .RE
278 .PP
279 \fBPASS_CHANGE_TRIES\fR (number)
280 .RS 4
281 Maximum number of attempts to change password if rejected (too easy)\&.
282 .RE
283 .PP
284 \fBPASS_MAX_LEN\fR (number), \fBPASS_MIN_LEN\fR (number)
285 .RS 4
286 Number of significant characters in the password for crypt()\&.
287 \fBPASS_MAX_LEN\fR
288 is 8 by default\&. Don\'t change unless your crypt() is better\&. This is ignored if
289 \fBMD5_CRYPT_ENAB\fR
290 set to
291 \fIyes\fR\&.
292 .RE
293 .PP
294 \fBSHA_CRYPT_MIN_ROUNDS\fR (number), \fBSHA_CRYPT_MAX_ROUNDS\fR (number)
295 .RS 4
296 When
297 \fBENCRYPT_METHOD\fR
298 is set to
299 \fISHA256\fR
300 or
301 \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)\&.
302 .sp
303 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\&.
304 .sp
305 If not specified, the libc will choose the default number of rounds (5000)\&.
306 .sp
307 The values must be inside the 1000\-999999999 range\&.
308 .sp
309 If only one of the
310 \fBSHA_CRYPT_MIN_ROUNDS\fR
311 or
312 \fBSHA_CRYPT_MAX_ROUNDS\fR
313 values is set, then this value will be used\&.
314 .sp
315 If
316 \fBSHA_CRYPT_MIN_ROUNDS\fR
317 >
318 \fBSHA_CRYPT_MAX_ROUNDS\fR, the highest value will be used\&.
319 .RE
320 .SH "DATEIEN"
321 .PP
322 /etc/passwd
323 .RS 4
324 Informationen zu den Benutzerkonten\&.
325 .RE
326 .PP
327 /etc/shadow
328 .RS 4
329 Verschl\(:usselte Informationen zu den Benutzerkonten\&.
330 .RE
331 .PP
332 /etc/login\&.defs
333 .RS 4
334 Konfiguration des Shadow\-Passwort\-Systems
335 .RE
336 .SH "R\(:UCKGABEWERTE"
337 .PP
338 Der Befehl
339 \fBpasswd\fR
340 gibt beim Beenden folgende Werte zur\(:uck:
341 .PP
342 \fI0\fR
343 .RS 4
344 Erfolg
345 .RE
346 .PP
347 \fI1\fR
348 .RS 4
349 Berechtigung verweigert
350 .RE
351 .PP
352 \fI2\fR
353 .RS 4
354 ung\(:ultige Kombination von Optionen
355 .RE
356 .PP
357 \fI3\fR
358 .RS 4
359 unerwarteter Fehler, nichts wurde ver\(:andert
360 .RE
361 .PP
362 \fI4\fR
363 .RS 4
364 unerwarteter Fehler, die Datei
365 passwd
366 fehlt
367 .RE
368 .PP
369 \fI5\fR
370 .RS 4
371 Datei
372 passwd
373 wird benutzt, bitte nochmal versuchen
374 .RE
375 .PP
376 \fI6\fR
377 .RS 4
378 ung\(:ultiges Argument f\(:ur Option
379 .RE
380 .SH "SIEHE AUCH"
381 .PP
382
383 \fBpasswd\fR(5),
384 \fBshadow\fR(5),
385 \fBlogin.defs\fR(5),
386 \fBusermod\fR(8)\&.