X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: inetutils RSH install Date: Thu, 04 Oct 2007 18:36:28 -0700 Lines: 44 Message-ID: References: <13029450 DOT post AT talk DOT nabble DOT com> <13051285 DOT post AT talk DOT nabble DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/