delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/26/17:42:35

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: proftpd as a service under 2003
Date: Thu, 26 Jul 2007 16:41:56 -0500
Lines: 38
Message-ID: <f8b4f7$a8p$1@sea.gmane.org>
References: <Pine DOT LNX DOT 4 DOT 64 DOT 0707261316500 DOT 24994 AT potato DOT cts DOT ucla DOT edu>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
In-Reply-To: <Pine.LNX.4.64.0707261316500.24994@potato.cts.ucla.edu>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Chris Stromsoe wrote:

> I'm having trouble getting proftpd to run as a service under 2003.  I
> read /usr/share/doc/Cyginw/openssh.README.  I used ssh-host-config to
> create an account named sshd_server.  I have ssh running fine.
>=20
> If I try to use the same account, I get the error

How did you setup proftpd as service?

>   Error starting a service: QueryServiceStatus:  win32 error 1062:
>   The service has not been started.
>=20
> Looking in the logs, I have:
>=20
>   unable to set uid to 18, current uid: 1006

And 1006 is sshd_server?  We know 18 is SYSTEM, whoever is 1006 has no
privileges to change users... and it probably shouldn't (I have in my
/etc/proftpd.conf User SYSTEM and Group None, it works fine in Win XP), if =
set
as service the default is being run as SYSTEM, you must have changed that b=
ut
not the proftpd configuration.

> Running /usr/sbin/proftpd from the command line gives me the same error,
> except the current uid is 500.
>=20
> The system is windows 2003 server.  cygwin is 1.5.24.
>=20
> Any ideas?

ProFtpd can be started from inetd... your choice; but there are advantages =
like
using tcp_wrappers.
--=20
Ren=E9 Berber


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