Re: sshd-started sessions don't see system environment?

2007-03-22 Thread Shankar Unni
Brian Dessent wrote: http://www.cygwin.com/ml/cygwin/2006-10/msg00729.html http://www.cygwin.com/ml/cygwin/2006-11/msg00397.html My bad. Sorry, didn't search diligently enough. (Though I wonder how it improves security to ignore env vars from /etc/profile or the system environment..) --

Re: sshd-started sessions don't see system environment?

2007-03-22 Thread Brian Dessent
Shankar Unni wrote: (Though I wonder how it improves security to ignore env vars from /etc/profile or the system environment..) Suppose you, as root, ran /etc/init.d/openssh start, or whatever the appropriate command to launch the ssh daemon on your *nix system, and you happen to have some

Re: sshd-started sessions don't see system environment?

2007-03-22 Thread Shankar Unni
Brian Dessent wrote: I suppose a way to reconcile these would be a utility that you call from ~/.profile that enumerates the list of environ key/value pairs from the registry and installs them into the process' environment. That's an interesting idea. regtool list -v

Re: sshd-started sessions don't see system environment?

2007-03-16 Thread Shankar Unni
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

Re: sshd-started sessions don't see system environment?

2007-03-16 Thread Brian Dessent
Shankar Unni wrote: Ping? Has anyone else seen anything like this? http://www.cygwin.com/ml/cygwin/2006-10/msg00729.html http://www.cygwin.com/ml/cygwin/2006-11/msg00397.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

sshd-started sessions don't see system environment?

2007-03-13 Thread Shankar Unni
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. Specifically, several System environment variables are