This is the mail archive of the
mailing list for the Cygwin project.
Re: sshd-started sessions don't see system environment?
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 "/machine/SYSTEM/CurrentControlSet/Control/Session
regtool list -v "/user/Environment"
Thanks! At least the germ of an idea (it'll need some work, obviously;
putting all the settings again into .bash_profile is probably a lot
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html