Mail Archives: cygwin/2006/05/09/11:23:21
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 -