Tizen 2.1 base
[external/shadow-utils.git] / man / de / login.1
1 '\" t
2 .\"     Title: login
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 "LOGIN" "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 login \- startet eine Sitzung auf dem System
23 .SH "SYNOPSIS"
24 .HP \w'\fBlogin\fR\ 'u
25 \fBlogin\fR [\-p] [\-h\ \fIHost\fR] [\fIBenutzername\fR] [\fIENV=VAR\fR...]
26 .HP \w'\fBlogin\fR\ 'u
27 \fBlogin\fR [\-p] [\-h\ \fIHost\fR] \-f \fIBenutzername\fR
28 .HP \w'\fBlogin\fR\ 'u
29 \fBlogin\fR [\-p] \-r\ \fIHost\fR
30 .SH "BESCHREIBUNG"
31 .PP
32 The
33 \fBlogin\fR
34 program is used to establish a new session with the system\&. It is normally invoked automatically by responding to the
35 \fIlogin:\fR
36 prompt on the user\'s terminal\&.
37 \fBlogin\fR
38 may be special to the shell and may not be invoked as a sub\-process\&. When called from a shell,
39 \fBlogin\fR
40 should be executed as
41 \fBexec login\fR
42 which will cause the user to exit from the current shell (and thus will prevent the new logged in user to return to the session of the caller)\&. Attempting to execute
43 \fBlogin\fR
44 from any shell but the login shell will produce an error message\&.
45 .PP
46 Falls erforderlich, wird der Benutzer anschlie\(ssend nach einem Passwort gefragt\&. Dieses wird w\(:ahrend der Eingabe nicht angezeigt\&. Es sind nur eine kleine Anzahl von Anmeldeversuchen zul\(:assig, ehe
47 \fBlogin\fR
48 abbricht und die Kommunikation getrennt wird\&.
49 .PP
50 Falls der Passwortverfall f\(:ur Ihr Konto aktiviert wurde, kann es sein, dass Sie vor der weiteren Nutzung nach einem neuen Passwort gefragt werden\&. Sie m\(:ussen Ihr altes und neues Passwort angegeben, bevor fortgefahren werden kann\&. In der Dokumentation zu
51 \fBpasswd\fR(1)
52 finden sich weitere Informationen\&.
53 .PP
54 Nach einer erfolgreichen Anmeldung werden Ihnen Systemmeldungen pr\(:asentiert, sowie das Vorhandensein von Mails angezeigt\&. Die Anzeige der systemweiten Nachrichtendatei
55 /etc/motd
56 kann abgeschaltet werden, indem im Login\-Verzeichnis eine leere Datei
57 \&.hushlogin
58 angelegt wird\&. Je nach Zustand der Mailbox des Benutzers ist die Mailnachricht entweder "\fISie haben neue Mails\&.\fR", "\fISie haben Mails\&.\fR" oder "\fIKeine Mails\&.\fR"\&.
59 .PP
60 Die Benutzer\- und Gruppen\-IDs werden gem\(:a\(ss den Werten in
61 /etc/passwd
62 gesetzt\&. Die Werte f\(:ur
63 \fB$HOME\fR,
64 \fB$SHELL\fR,
65 \fB$PATH\fR,
66 \fB$LOGNAME\fR
67 und
68 \fB$MAIL\fR
69 werden ebenfalls entsprechend den Feldern im Passworteintrag gesetzt\&. Werte f\(:ur ulimit, umask und nice k\(:onnen ebenfalls gem\(:a\(ss den Werten im GECOS\-Feld gesetzt werden\&.
70 .PP
71 Bei einigen Installationen wird anf\(:anglich die Umgebungsvariable
72 \fB$TERM\fR
73 entsprechend dem Terminaltyp Ihrer tty\-Zeile, wie sie in
74 /etc/ttytype
75 angegeben ist, gesetzt\&.
76 .PP
77 Ein Initialisierungsskript f\(:ur Ihren Befehls\-Interpreter kann auch ausgef\(:uhrt werden\&. Sehen Sie bitte in den entsprechenden Handbuchseiten f\(:ur weitere Informationen dar\(:uber nach\&.
78 .PP
79 Eine Subsystem\-Anmeldung wird durch einen "*" als erstes Zeichen der Login\-Shell gekennzeichnet\&. Das angegebene Home\-Verzeichnis wird als Wurzel f\(:ur das Dateisystem verwendet, auf welchem der Benutzer tats\(:achlich angemeldet ist\&.
80 .PP
81 Es liegt NICHT in der Verantwortung von
82 \fBlogin\fR, Benutzer aus der utmp\-Datei zu entfernen\&. Sowohl
83 \fBgetty\fR(8)
84 als auch
85 \fBinit\fR(8)
86 sind daf\(:ur zust\(:andig, die offenkundige Eigent\(:umerschaft einer Terminalsitzung aufzur\(:aumen\&. Falls Sie
87 \fBlogin\fR
88 von der Shell ohne
89 \fBexec\fR
90 verwenden, wird der Benutzer, den Sie verwenden, weiterhin als angemeldet erscheinen, obwohl Sie die Subsitzung abgemeldet haben\&.
91 .SH "OPTIONEN"
92 .PP
93 \fB\-f\fR
94 .RS 4
95 Keine Authentifizierung durchf\(:uhren, Benutzer ist bereits angemeldet\&.
96 .sp
97 Note: In that case,
98 \fIusername\fR
99 is mandatory\&.
100 .RE
101 .PP
102 \fB\-h\fR
103 .RS 4
104 Name des entfernten Rechners f\(:ur die Anmeldung\&.
105 .RE
106 .PP
107 \fB\-p\fR
108 .RS 4
109 Behalte die Umgebungseinstellungen bei\&.
110 .RE
111 .PP
112 \fB\-r\fR
113 .RS 4
114 F\(:uhre das Autologin\-Protokoll f\(:ur rlogin aus\&.
115 .RE
116 .PP
117 Die Optionen
118 \fB\-r\fR,
119 \fB\-h\fR
120 und
121 \fB\-f\fR
122 k\(:onnen nur verwendet werden, wenn
123 \fBlogin\fR
124 von Root ausgef\(:uhrt wird\&.
125 .SH "WARNUNGEN"
126 .PP
127 Diese Version von
128 \fBlogin\fR
129 hat viele Optionen f\(:ur die Kompilierung, davon sind eventuell nur einige auf bestimmten Systemen in Gebrauch\&.
130 .PP
131 Der Ort der Konfigurationsdateien kann entsprechend der Systemkonfiguration abweichen\&.
132 .PP
133 Es liegt NICHT in der Verantwortung von
134 \fBlogin\fR, Benutzer aus der utmp\-Datei zu entfernen\&. Sowohl
135 \fBgetty\fR(8)
136 als auch
137 \fBinit\fR(8)
138 sind daf\(:ur zust\(:andig, die offenkundige Eigent\(:umerschaft einer Terminalsitzung aufzur\(:aumen\&. Falls Sie
139 \fBlogin\fR
140 von der Shell ohne
141 \fBexec\fR
142 verwenden, wird der Benutzer, den Sie verwenden, weiterhin als angemeldet erscheinen, obwohl Sie die Subsitzung abgemeldet haben\&.
143 .PP
144 As with any program,
145 \fBlogin\fR\'s appearance can be faked\&. If non\-trusted users have physical access to a machine, an attacker could use this to obtain the password of the next person coming to sit in front of the machine\&. Under Linux, the SAK mechanism can be used by users to initiate a trusted path and prevent this kind of attack\&.
146 .SH "CONFIGURATION"
147 .PP
148 The following configuration variables in
149 /etc/login\&.defs
150 change the behavior of this tool:
151 .PP
152 \fBCONSOLE\fR (string)
153 .RS 4
154 If defined, either full pathname of a file containing device names (one per line) or a ":" delimited list of device names\&. Root logins will be allowed only upon these devices\&.
155 .sp
156 If not defined, root will be allowed on any device\&.
157 .sp
158 The device should be specified without the /dev/ prefix\&.
159 .RE
160 .PP
161 \fBCONSOLE_GROUPS\fR (string)
162 .RS 4
163 List of groups to add to the user\'s supplementary groups set when logging in on the console (as determined by the CONSOLE setting)\&. Default is none\&.
164
165 Use with caution \- it is possible for users to gain permanent access to these groups, even when not logged in on the console\&.
166 .RE
167 .PP
168 \fBDEFAULT_HOME\fR (boolean)
169 .RS 4
170 Indicate if login is allowed if we can\'t cd to the home directory\&. Default in no\&.
171 .sp
172 If set to
173 \fIyes\fR, the user will login in the root (/) directory if it is not possible to cd to her home directory\&.
174 .RE
175 .PP
176 \fBENV_HZ\fR (string)
177 .RS 4
178 If set, it will be used to define the HZ environment variable when a user login\&. The value must be preceded by
179 \fIHZ=\fR\&. A common value on Linux is
180 \fIHZ=100\fR\&.
181 .RE
182 .PP
183 \fBENV_PATH\fR (string)
184 .RS 4
185 If set, it will be used to define the PATH environment variable when a regular user login\&. The value can be preceded by
186 \fIPATH=\fR, or a colon separated list of paths (for example
187 \fI/bin:/usr/bin\fR)\&. The default value is
188 \fIPATH=/bin:/usr/bin\fR\&.
189 .RE
190 .PP
191 \fBENV_SUPATH\fR (string)
192 .RS 4
193 If set, it will be used to define the PATH environment variable when the superuser login\&. The value can be preceded by
194 \fIPATH=\fR, or a colon separated list of paths (for example
195 \fI/sbin:/bin:/usr/sbin:/usr/bin\fR)\&. The default value is
196 \fIPATH=/bin:/usr/bin\fR\&.
197 .RE
198 .PP
199 \fBENV_TZ\fR (string)
200 .RS 4
201 If set, it will be used to define the TZ environment variable when a user login\&. The value can be the name of a timezone preceded by
202 \fITZ=\fR
203 (for example
204 \fITZ=CST6CDT\fR), or the full path to the file containing the timezone specification (for example
205 /etc/tzname)\&.
206 .sp
207 If a full path is specified but the file does not exist or cannot be read, the default is to use
208 \fITZ=CST6CDT\fR\&.
209 .RE
210 .PP
211 \fBENVIRON_FILE\fR (string)
212 .RS 4
213 If this file exists and is readable, login environment will be read from it\&. Every line should be in the form name=value\&.
214 .sp
215 Lines starting with a # are treated as comment lines and ignored\&.
216 .RE
217 .PP
218 \fBERASECHAR\fR (number)
219 .RS 4
220 Terminal ERASE character (\fI010\fR
221 = backspace,
222 \fI0177\fR
223 = DEL)\&.
224 .sp
225 The value can be prefixed "0" for an octal value, or "0x" for an hexadecimal value\&.
226 .RE
227 .PP
228 \fBFAIL_DELAY\fR (number)
229 .RS 4
230 Delay in seconds before being allowed another attempt after a login failure\&.
231 .RE
232 .PP
233 \fBFAILLOG_ENAB\fR (boolean)
234 .RS 4
235 Enable logging and display of
236 /var/log/faillog
237 login failure info\&.
238 .RE
239 .PP
240 \fBFAKE_SHELL\fR (string)
241 .RS 4
242 If set,
243 \fBlogin\fR
244 will execute this shell instead of the users\' shell specified in
245 /etc/passwd\&.
246 .RE
247 .PP
248 \fBFTMP_FILE\fR (string)
249 .RS 4
250 If defined, login failures will be logged in this file in a utmp format\&.
251 .RE
252 .PP
253 \fBHUSHLOGIN_FILE\fR (string)
254 .RS 4
255 If defined, this file can inhibit all the usual chatter during the login sequence\&. If a full pathname is specified, then hushed mode will be enabled if the user\'s name or shell are found in the file\&. If not a full pathname, then hushed mode will be enabled if the file exists in the user\'s home directory\&.
256 .RE
257 .PP
258 \fBISSUE_FILE\fR (string)
259 .RS 4
260 If defined, this file will be displayed before each login prompt\&.
261 .RE
262 .PP
263 \fBKILLCHAR\fR (number)
264 .RS 4
265 Terminal KILL character (\fI025\fR
266 = CTRL/U)\&.
267 .sp
268 The value can be prefixed "0" for an octal value, or "0x" for an hexadecimal value\&.
269 .RE
270 .PP
271 \fBLASTLOG_ENAB\fR (boolean)
272 .RS 4
273 Enable logging and display of /var/log/lastlog login time info\&.
274 .RE
275 .PP
276 \fBLOGIN_RETRIES\fR (number)
277 .RS 4
278 Maximum number of login retries in case of bad password\&.
279 .RE
280 .PP
281 \fBLOGIN_STRING\fR (string)
282 .RS 4
283 The string used for prompting a password\&. The default is to use "Password: ", or a translation of that string\&. If you set this variable, the prompt will no be translated\&.
284 .sp
285 If the string contains
286 \fI%s\fR, this will be replaced by the user\'s name\&.
287 .RE
288 .PP
289 \fBLOGIN_TIMEOUT\fR (number)
290 .RS 4
291 Max time in seconds for login\&.
292 .RE
293 .PP
294 \fBLOG_OK_LOGINS\fR (boolean)
295 .RS 4
296 Enable logging of successful logins\&.
297 .RE
298 .PP
299 \fBLOG_UNKFAIL_ENAB\fR (boolean)
300 .RS 4
301 Enable display of unknown usernames when login failures are recorded\&.
302 .sp
303 Note: logging unknown usernames may be a security issue if an user enter her password instead of her login name\&.
304 .RE
305 .PP
306 \fBMAIL_CHECK_ENAB\fR (boolean)
307 .RS 4
308 Enable checking and display of mailbox status upon login\&.
309 .sp
310 You should disable it if the shell startup files already check for mail ("mailx \-e" or equivalent)\&.
311 .RE
312 .PP
313 \fBMAIL_DIR\fR (string)
314 .RS 4
315 Das Verzeichnis des Mail\-Spools\&. Diese Angabe wird ben\(:otigt, um die Mailbox zu bearbeiten, nachdem das entsprechende Benutzerkonto ver\(:andert oder gel\(:oscht wurde\&. Falls nicht angegeben, wird ein Standard verwendet, der beim Kompilieren festgelegt wurde\&.
316 .RE
317 .PP
318 \fBMAIL_FILE\fR (string)
319 .RS 4
320 Defines the location of the users mail spool files relatively to their home directory\&.
321 .RE
322 .PP
323 The
324 \fBMAIL_DIR\fR
325 and
326 \fBMAIL_FILE\fR
327 variables are used by
328 \fBuseradd\fR,
329 \fBusermod\fR, and
330 \fBuserdel\fR
331 to create, move, or delete the user\'s mail spool\&.
332 .PP
333 If
334 \fBMAIL_CHECK_ENAB\fR
335 is set to
336 \fIyes\fR, they are also used to define the
337 \fBMAIL\fR
338 environment variable\&.
339 .PP
340 \fBMOTD_FILE\fR (string)
341 .RS 4
342 If defined, ":" delimited list of "message of the day" files to be displayed upon login\&.
343 .RE
344 .PP
345 \fBNOLOGINS_FILE\fR (string)
346 .RS 4
347 If defined, name of file whose presence will inhibit non\-root logins\&. The contents of this file should be a message indicating why logins are inhibited\&.
348 .RE
349 .PP
350 \fBPORTTIME_CHECKS_ENAB\fR (boolean)
351 .RS 4
352 Enable checking of time restrictions specified in /etc/porttime\&.
353 .RE
354 .PP
355 \fBQUOTAS_ENAB\fR (boolean)
356 .RS 4
357 Enable setting of ulimit, umask, and niceness from passwd gecos field\&.
358 .RE
359 .PP
360 \fBTTYGROUP\fR (string), \fBTTYPERM\fR (string)
361 .RS 4
362 The terminal permissions: the login tty will be owned by the
363 \fBTTYGROUP\fR
364 group, and the permissions will be set to
365 \fBTTYPERM\fR\&.
366 .sp
367 By default, the ownership of the terminal is set to the user\'s primary group and the permissions are set to
368 \fI0600\fR\&.
369 .sp
370
371 \fBTTYGROUP\fR
372 can be either the name of a group or a numeric group identifier\&.
373 .sp
374 If you have a
375 \fBwrite\fR
376 program which is "setgid" to a special group which owns the terminals, define TTYGROUP to the group number and TTYPERM to 0620\&. Otherwise leave TTYGROUP commented out and assign TTYPERM to either 622 or 600\&.
377 .RE
378 .PP
379 \fBTTYTYPE_FILE\fR (string)
380 .RS 4
381 If defined, file which maps tty line to TERM environment parameter\&. Each line of the file is in a format something like "vt100 tty01"\&.
382 .RE
383 .PP
384 \fBULIMIT\fR (number)
385 .RS 4
386 Default
387 \fBulimit\fR
388 value\&.
389 .RE
390 .PP
391 \fBUMASK\fR (number)
392 .RS 4
393 The file mode creation mask is initialized to this value\&. If not specified, the mask will be initialized to 022\&.
394 .sp
395
396 \fBuseradd\fR
397 and
398 \fBnewusers\fR
399 use this mask to set the mode of the home directory they create
400 .sp
401 It is also used by
402 \fBlogin\fR
403 to define users\' initial umask\&. Note that this mask can be overriden by the user\'s GECOS line (if
404 \fBQUOTAS_ENAB\fR
405 is set) or by the specification of a limit with the
406 \fIK\fR
407 identifier in
408 \fBlimits\fR(5)\&.
409 .RE
410 .PP
411 \fBUSERGROUPS_ENAB\fR (boolean)
412 .RS 4
413 Enable setting of the umask group bits to be the same as owner bits (examples: 022 \-> 002, 077 \-> 007) for non\-root users, if the uid is the same as gid, and username is the same as the primary group name\&.
414 .sp
415 If set to
416 \fIyes\fR,
417 \fBuserdel\fR
418 will remove the user\'s group if it contains no more members, and
419 \fBuseradd\fR
420 will create by default a group with the name of the user\&.
421 .RE
422 .SH "DATEIEN"
423 .PP
424 /var/run/utmp
425 .RS 4
426 Liste der aktuellen Login\-Sitzungen\&.
427 .RE
428 .PP
429 /var/log/wtmp
430 .RS 4
431 Liste der vorangegangenen Login\-Sitzungen
432 .RE
433 .PP
434 /etc/passwd
435 .RS 4
436 Informationen zu den Benutzerkonten\&.
437 .RE
438 .PP
439 /etc/shadow
440 .RS 4
441 Verschl\(:usselte Informationen zu den Benutzerkonten\&.
442 .RE
443 .PP
444 /etc/motd
445 .RS 4
446 Datei mit der Systemmeldung des Tages\&.
447 .RE
448 .PP
449 /etc/nologin
450 .RS 4
451 Verhindert, dass sich Benutzer au\(sser Root anmelden\&.
452 .RE
453 .PP
454 /etc/ttytype
455 .RS 4
456 Liste der Terminaltypen\&.
457 .RE
458 .PP
459 $HOME/\&.hushlogin
460 .RS 4
461 Unterdr\(:uckt die Ausgabe von Systemnachrichten\&.
462 .RE
463 .PP
464 /etc/login\&.defs
465 .RS 4
466 Konfiguration des Shadow\-Passwort\-Systems
467 .RE
468 .SH "SIEHE AUCH"
469 .PP
470 \fBmail\fR(1),
471 \fBpasswd\fR(1),
472 \fBsh\fR(1),
473 \fBsu\fR(1),
474 \fBlogin.defs\fR(5),
475 \fBnologin\fR(5),
476 \fBpasswd\fR(5),
477 \fBsecuretty\fR(5),
478 \fBgetty\fR(8)\&.