sshd-started sessions don't see system environment?
Shankar Unni
shankarunni@netscape.net
Fri Mar 16 20:36:00 GMT 2007
Shankar Unni wrote on 2007-03-13:
> I have a very odd situation here on my Win2K3 box.
>
> I have sshd set up, using privilege separation. I can log in as a local
> user, but the environment I see is not the same as the environment I see
> when I log in on the main desktop.
Ping? Has anyone else seen anything like this?
Is there any other information I could generate that would help debug this?
I know sshd (on Linux, etc.) tries really hard *not* to source any of
the standard setup files like /etc/profile, etc., and quite probably
also forces a standard environment on children it spawns.
Is this what is going on here, too? Somehow the code ignores the system
environment, and just copies some "well-known" subset of its environment
to its children, or something?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list