On Aug 11 00:23, Charles Wilson wrote: > Can ssh (or is it cygwin1.dll?) ensure that the user's APPDATA variable > is populated, since it appears to be a pretty important var for Windows > Vista+?
The child process started by sshd inherits its minimal environment from its sshd server parent process. The sshd server is running under another account and so has another set of environment variables. The setuid() call does not change the environment. There's no mechanism to fetch a user-specific environment other than the officially supported mechanisms as described in `man sshd' and `man sshd_config': In `man sshd' see the LOGIN PROCESS and SSHRC sections, as well as the AUTHORIZED_KEYS FILE FORMAT section. In `man sshd_config' see the descriptions for AcceptEnv and PermitUserEnvironment. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple