Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C486729.7020103@cportcorp.com> Date: Fri, 18 Jan 2002 13:19:21 -0500 From: Peter Buckley User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Alex BATKO , cygwin AT cygwin DOT com Subject: Re: no output from net.exe References: <911C684A29ACD311921800508B7293BA037D2A5E AT cnmail> <20020118110817 DOT B786 AT cs DOT mcgill DOT ca> <3C484C07 DOT 7040202 AT cportcorp DOT com> <20020118125910 DOT C786 AT cs DOT mcgill DOT ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/