delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: 2003 Installing inetd as a service |
Date: | Fri, 02 Jun 2006 00:07:15 -0700 |
Lines: | 56 |
Message-ID: | <e5oo33$v8r$1@sea.gmane.org> |
References: | <e57tg8$ojp$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
In-Reply-To: | <e57tg8$ojp$1@sea.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Andrew DeFaria wrote: > What's the best way to install inetd as a service on Windows 2003. I > used to use inetd --install-as-service but I'm thinking a cygrunsrv -I > inetd style line would be better. > > Also, since what I want to accomplish is the ability to telnet, > rlogin, rsh into the 2003 server running the inetd service. Since this > is 2003 does the inetd service need to run as just the Local System > Account (SYSTEM) or does it need to run as a user who's privileges are > elevated? Still haven't heard an answer for this question. Meantime I decided to try to start over. I recreated /etc/passwd and /etc/group with mkpasswd -l -d and mkgroup -l -d and ran the ssh-host-config script. (BTW: the old /etc/passwd, /etc/group was a copy of files created and shared with all machines. When created we used -o 0 to change the default offset in uid/gids from 10000 -> 0). I'm trying to get ssh working now as I deleted the inetd service using inetd --remove-as-service and it marked the inetd service as disabled and "marked for deletion" so I'll have to reboot to get that to finally delete. Meantime attempting to get ssh to work I now get: $ ssh localhost Read from socket failed: Connection reset by peer $ cat /var/log/sshd.log 5 [main] sshd 8680 C:\Cygwin\usr\sbin\sshd.exe: *** fatal error - CreateFileMapping Global\cygwin1S4.S-1-5-21-1957994488-1035525444-725345543-1322.1, Win32 error 0. Terminating. Also, the Event Viewer states: Event Type: Error Event Source: sshd Event Category: None Event ID: 0 Date: 6/1/2006 Time: 11:47:15 PM User: SONS-SC-CC\sshd_server Computer: SONS-SC-CC Description: The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshd: PID 6808: fatal: mm_request_receive: read: Software caused connection abort. Any clues? -- Andrew DeFaria <http://defaria.com> I used to be schizophrenic, but we're all right now. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |