delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/04/21:37:32

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: inetutils RSH install
Date: Thu, 04 Oct 2007 18:36:28 -0700
Lines: 44
Message-ID: <fe44eu$475$1@sea.gmane.org>
References: <13029450 DOT post AT talk DOT nabble DOT com> <fe18sf$u22$2 AT sea DOT gmane DOT org> <13051285 DOT post AT talk DOT nabble DOT com> <fe40fs$r1e$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <fe40fs$r1e$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

René Berber wrote:

> Alexfed wrote:
>> Unfortunately outside of running iu-config it has no info on how to 
>> create
>> and run the service.
>
> Inetd? Once installed it starts after every reboot or when you do a 
> "net start
> inetd" or ...
>
> If you meant rshd, if configured right on /etc/inet.conf, it starts 
> whenever a
> client tries to connect.
>
>> René Berber-2 wrote:
>>> Alexfed wrote:
>>>
>>>> How do I install the inetutils RSH and start the service?
>>> Edit /etc/inetd.conf; I'm assuming you already read
>>> /usr/share/doc/Cygwin/inetutils-1.3.2.README and installed inetd as a
>>> service..
He obviously did not read /usr/share/doc/Cygwin/inetutils-1.3.2.README 
or at least he did not bother to read down far enough where it says how 
to install it as a service. From what I can see that comes in at ~ line 
314 or 437 lines or 71% in. Essentially you need to do

$ /usr/sbin/inetd --install-as-service

Additionally you need to (IIRC) add C:\Cygwin\bin to your SYSTEM 
environment variable otherwise start up of inetd will fail. Oh and you 
need to reboot too.

Of course you could instead use cygrunsrv to add the service which, I 
believe, does a better job and handles the need to add C:\Cygwin\bin to 
your SYSTEM environment. In fact I believe that this 
--install-as-service option should be removed from inetd and iu-config 
should be enhanced to add the service via cygrunsrv.

Either way a "net start/stop inetd" will start/stop the service and it 
should be set to start automatically at boot up time.
-- 
Andrew DeFaria <http://defaria.com>
Everyone hates me because I'm paranoid.


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

- Raw text -


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