This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]