Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E9EA7FC.32B6F5A8@ieee.org>
Date: Thu, 17 Apr 2003 09:11:24 -0400
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: AllocConsole in inetd [Was: Re: tcgetattr problem [Was Re: 1.3.22: 
 bug report]]
References: <3.0.5.32.20030416203609.007fc5c0@incoming.verizon.net> <3.0.5.32.20030416204807.007fcaf0@incoming.verizon.net> <20030417083414.GT11137@cygbert.vinschen.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Corinna Vinschen wrote:
> 
> On Wed, Apr 16, 2003 at 08:48:07PM -0400, Pierre A. Humblet wrote:
> > If inetd needs AllocConsole, why doesn't sshd?
> 
> Ever had a look into cygrunsrv? ;-)

No, never :)
But I can reproduce on NT what I saw yesterday on Win2000.
What am I doing wrong?

~> cygrunsrv -I sshd -p /usr/sbin/sshd.exe -a '-D'
~> cygrunsrv -S sshd      
~> ssh localhost
Last login: Tue Apr 15 18:20:49 2003 from localhost
Fanfare!!!
You are successfully logged in to this server!!!

$ net help              <====== No output

$ exit
~> net stop sshd
~> net start inetd
~> ssh localhost
Last login: Thu Apr 17 09:00:46 2003 from localhost
Fanfare!!!
You are successfully logged in to this server!!!

$ net help
The syntax of this command is:   <====== OK output


NET HELP command 
      -or-

Pierre

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

