This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin services using uid 400, not SYSTEM. Why?
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 09 May 2006 11:22:15 -0400
- Subject: Re: Cygwin services using uid 400, not SYSTEM. Why?
- References: <446033AA.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
Shaddy Baddah wrote:
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'
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:
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
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