This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd-started sessions don't see system environment?
- From: Shankar Unni <shankarunni at netscape dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 16 Mar 2007 13:33:49 -0700
- Subject: Re: sshd-started sessions don't see system environment?
- References: <et7b9l$8pu$1@sea.gmane.org>
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/