delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/18/13:22:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <peter DOT buckley AT cportcorp DOT com>
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 <abatko AT milquetoast DOT cs DOT mcgill DOT ca>, 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>


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019