delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/09/11:23:21

X-Spam-Check-By: sourceware.org
Message-ID: <4460B3A7.8020201@cygwin.com>
Date: Tue, 09 May 2006 11:22:15 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin services using uid 400, not SYSTEM. Why?
References: <446033AA DOT 4080906 AT hotmail DOT com-invalid>
In-Reply-To: <446033AA.4080906@hotmail.com-invalid>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Shaddy Baddah wrote:
> Hi,
> 
> I've recently been required to use a Windows XP Professional system, and 
> have been trying to setup  a Cygwin inetd service.
> 
> After installing the requisite Cygwin packages, I performed a:
> 
> cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a '-d'
> 
> and then:
> 
> cygrunsrv -S inetd
> 
> Curiously however, at least against my experience, the spawned service 
> processed are *not* being run as SYSTEM. Consider the following output:
> 
> $ ps -ef
> sbaddah    2428       1 con  11:23:33 /usr/bin/bash
> sbaddah    1412    2428 con  13:10:06 /usr/bin/rxvt
> sbaddah    1740    1412   3  13:10:06 /usr/bin/sh
>     400    3692       1   ?  13:56:54 /usr/bin/cygrunsrv
>     400    3336    3692   ?  13:56:54 /usr/sbin/inetd
> sbaddah    2600    1740   3  13:56:57 /usr/bin/ps
> 
> The SYSTEM uid from my /etc/passwd (created by mkpasswd -l -d) is 18:
> 
> SYSTEM:*:18:544:,S-1-5-18::
> 
> Uid 400 doesn't exist. Can someone please explain to me why the service 
> is not being started as SYSTEM? Is this normal? What more can I do to 
> diagnose the problem (other than sending the cygcheck.out, which I have 
> attached)?
> 

Why didn't you configure the service via /usr/bin/iu-config?  I'd suggest
you uninstall, reinstall, and try using the configure script instead.  With
some luck, it will be able to undo any missteps and configure a working and
proper inetd for you.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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