X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: sshd-started sessions don't see system environment? Date: Fri, 16 Mar 2007 13:33:49 -0700 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070116 Thunderbird/2.0b2 Mnenhy/0.7.5.666 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/