sshd-started sessions don't see system environment?

Shankar Unni shankarunni@netscape.net
Thu Mar 22 21:44:00 GMT 2007


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 
Manager/Environment"

and

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 
easier :-).


--
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