su \- \(:andert die Benutzer\-ID oder wechselt zu Root
23
.SH "SYNOPSIS"
23
.SH "\(:UBERSICHT"
24
24
.HP \w'\fBsu\fR\ 'u
25
25
\fBsu\fR [\fIOptionen\fR] [\fIBenutzername\fR]
26
26
.SH "BESCHREIBUNG"
232
232
.PP
233
233
\fBCONSOLE_GROUPS\fR (string)
234
234
.RS 4
235
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\&.
235
List of groups to add to the user\*(Aqs supplementary groups set when logging in on the console (as determined by the CONSOLE setting)\&. Default is none\&.
236
236
237
237
Use with caution \- it is possible for users to gain permanent access to these groups, even when not logged in on the console\&.
238
238
.RE
239
239
.PP
240
240
\fBDEFAULT_HOME\fR (boolean)
241
241
.RS 4
242
Indicate if login is allowed if we can\'t cd to the home directory\&. Default in no\&.
242
Indicate if login is allowed if we can\*(Aqt cd to the home directory\&. Default in no\&.
243
243
.sp
244
244
If set to
245
245
\fIyes\fR, the user will login in the root (/) directory if it is not possible to cd to her home directory\&.
272
272
If set, it will be used to define the PATH environment variable when the superuser login\&. The value can be preceded by
273
273
\fIPATH=\fR, or a colon separated list of paths (for example
274
274
\fI/sbin:/bin:/usr/sbin:/usr/bin\fR)\&. The default value is
275
\fIPATH=/bin:/usr/bin\fR\&.
275
\fIPATH=/sbin:/bin:/usr/sbin:/usr/bin\fR\&.
276
276
.RE
277
277
.PP
278
278
\fBENV_TZ\fR (string)
292
292
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\&.
293
293
.sp
294
294
If the string contains
295
\fI%s\fR, this will be replaced by the user\'s name\&.
295
\fI%s\fR, this will be replaced by the user\*(Aqs name\&.
296
296
.RE
297
297
.PP
298
298
\fBMAIL_CHECK_ENAB\fR (boolean)
320
320
\fBuseradd\fR,
321
321
\fBusermod\fR, and
322
322
\fBuserdel\fR
323
to create, move, or delete the user\'s mail spool\&.
323
to create, move, or delete the user\*(Aqs mail spool\&.
324
324
.PP
325
325
If
326
326
\fBMAIL_CHECK_ENAB\fR
353
353
\fIroot\fR
354
354
on most Linux systems) to be able to
355
355
\fBsu\fR
356
to uid 0 accounts\&. If the group doesn\'t exist or is empty, no one will be able to
356
to uid 0 accounts\&. If the group doesn\*(Aqt exist or is empty, no one will be able to
357
357
\fBsu\fR
358
358
to uid 0\&.
359
359
.RE
372
372
If set to
373
373
\fIyes\fR,
374
374
\fBuserdel\fR
375
will remove the user\'s group if it contains no more members, and
375
will remove the user\*(Aqs group if it contains no more members, and
376
376
\fBuseradd\fR
377
377
will create by default a group with the name of the user\&.
378
378
.RE
392
392
.RS 4
393
393
Konfiguration des Shadow\-Passwort\-Systems
394
394
.RE
395
.SH "R\(:UCKGABEWERTE"
396
.PP
397
On success,
398
\fBsu\fR
399
returns the exit value of the command it executed\&.
400
.PP
401
If this command was terminated by a signal,
402
\fBsu\fR
403
returns the number of this signal plus 128\&.
404
.PP
405
If su has to kill the command (because it was asked to terminate, and the command did not terminate in time),