delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/26/19:30:45

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 18:29:57 -0500
Lines: 38
Message-ID: <f8bapo$s89$1@sea.gmane.org>
References: <Pine DOT LNX DOT 4 DOT 64 DOT 0707261316500 DOT 24994 AT potato DOT cts DOT ucla DOT edu> <f8b4f7$a8p$1 AT sea DOT gmane DOT org> <Pine DOT LNX DOT 4 DOT 64 DOT 0707261517380 DOT 27722 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.0707261517380.27722@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:

...
>> How did you setup proftpd as service?
>=20
> cygrunsrv --install proftpd --path /usr/sbin/proftpd.exe --args
> "nodaemon" --type auto --disp "Cygwin proftpd" --desc "ProFTP FTP
> daemon" --user sshd_server -e CYGWIN=3D"ntsec"

Is that a typo? the option nodaemon is written as --nodaemon or -n.

> "cygrunsrv --start proftpd" after that fails.
>=20
...
> If I run without specifying --user, proftpd runs as SYSTEM.  It does not
> change users at all.  If I log in with other users and upload files, the
> files all end up owned by the SYSTEM user.

I know all about that, but you can see your result, the error message you p=
osted
clearly states that the user could not change to SYSTEM... again: did you
configyro proftpd correctly?

...
> I don't have inetd installed.  It's a stripped down installation.  In
> any event, it's not clear to me that running from inetd would help.  The
> problem seems to be related changing users, which proftpd would still
> have to do running under inetd.

Yes, and it works fine under Win XP, so it must be something missing in your
user sshd_server privileges.
--=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