delorie.com/archives/browse.cgi | search |
Alex BATKO wrote: > woo, hoo !!! > > > +------------------- > | You can set this as a windows system environment variable by right > | clicking on my computer -> properties -> environment (or advanced if you > | on win2k?). This needs to be set at a system level so the system manager > | sees that it is set and passes it on to sshd. You will need to reboot > | the machine once you set this for it to take effect- simply stopping and > | starting sshd will not pickup the change. > | > I have done what you suggested, and now 'net.exe' works as I've always > begged it to. > > Just as a side note, in ~/.profile (of the account i'm ssh'ing to on the > windows machine) I still have: > > export CYGWIN='binmode ntea' > export TERM='cygwin' > > Is that OK ? I need 'ntea' to effectively use chmod. > I don't know if the ~/.profile is run when you ssh- it is usually run when a bash shell is started interactively (and I don't recall if ssh starts an interactive bash shell). I have my CYGWIN variable set as a system environment variable, because I use CYGWIN=ntsec binmode tty, and IIRC that I need the ntsec part to be set before the inetd service starts. I don't currently use sshd. HTH, Peter > > | The best way to search the mailing archives is with google > | (http://www.google.com). Type your search term in the box followed by > | "site:cygwin.com". This will use the google search engine to search the > | cygwin site. This is a very useful tool for many internet sites. > | > Adding site:cygwin.com is a very good tip - thanks. > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [OK] -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |