version 1.4, 1996/10/12 20:40:38 |
version 1.5, 1996/10/26 03:19:30 |
|
|
S/Key is a Trademark of Bellcore. |
S/Key is a Trademark of Bellcore. |
.Pp |
.Pp |
By default, the environment is unmodified with the exception of |
By default, the environment is unmodified with the exception of |
|
.Ev LOGNAME , |
.Ev USER , |
.Ev USER , |
.Ev HOME , |
.Ev HOME , |
and |
and |
|
|
and |
and |
.Ev SHELL |
.Ev SHELL |
are set to the target login's default values. |
are set to the target login's default values. |
|
.Ev LOGNAME |
|
and |
.Ev USER |
.Ev USER |
is set to the target login, unless the target login has a user ID of 0, |
are set to the target login, unless the target login has a user ID of 0, |
in which case it is unmodified. |
in which case it is unmodified. |
The invoked shell is the target login's. |
The invoked shell is the target login's. |
This is the traditional behavior of |
This is the traditional behavior of |
|
|
.Ev SHELL , |
.Ev SHELL , |
.Ev PATH , |
.Ev PATH , |
.Ev TERM , |
.Ev TERM , |
|
.Ev LOGNAME , |
and |
and |
.Ev USER . |
.Ev USER . |
.Ev HOME |
.Ev HOME |
and |
and |
.Ev SHELL |
.Ev SHELL |
are modified as above. |
are modified as above. |
|
.Ev LOGNAME |
|
and |
.Ev USER |
.Ev USER |
is set to the target login. |
are set to the target login. |
.Ev PATH |
.Ev PATH |
is set to |
is set to |
.Dq Pa /usr/bin:/bin . |
.Dq Pa /usr/bin:/bin . |
|
|
.It Ev TERM |
.It Ev TERM |
Provides terminal type which may be retained for the substituted |
Provides terminal type which may be retained for the substituted |
user ID. |
user ID. |
.It Ev USER |
.It Ev LOGNAME |
The user ID is always the effective ID (the target user ID) after an |
The user ID is always the effective ID (the target user ID) after an |
.Nm su |
.Nm su |
unless the user ID is 0 (root). |
unless the user ID is 0 (root). |
|
.It Ev USER |
|
Same as |
|
.Ev LOGNAME . |
.El |
.El |
.Sh HISTORY |
.Sh HISTORY |
A |
A |