Hello Yaron,
Telnet does no such thing, it merely execs some arbitrary program, which in
our case is login. True, telnetd passes on to login the value of the remote
host name but it does not set the environment variable independently.
Regards, Yotam Rubin
On Sun, Mar 11, 2001 at 09:04:21PM +0200, Yaron Zabary wrote:
> On Sun, 11 Mar 2001, Boaz Rymland wrote:
>
> > Besides, AFAIK, enviroment variables are all shell dependant as they
> > are created by the shell. Some might be completely standard, like
> > TERM, but they are all to the mercy of the shell. (Ofcourse, I would
> > love to be corrected or better rephrased :-) .
>
> Actually, telnetd whould probably set the env variable and would exec
> login, which would inherit it. Then, once login execs the shell (actually
> passwd's 7th value), it will inherit whatever they (telnetd and login)
> will set in their env.
>
> > Boaz.
>
>
> -- Yaron.
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]