X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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.LNX.4.64.0707261316500.24994@potato.cts.ucla.edu>  <f8b4f7$a8p$1@sea.gmane.org> <Pine.LNX.4.64.0707261517380.27722@potato.cts.ucla.edu>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

