delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/23/05:36:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Soren A." <somian AT adelphia DOT net>
Subject: Re: ProFTPd usable on WinXP-HE, questionable to me
Date: Mon, 23 Jun 2003 09:14:02 +0000 (UTC)
Organization: Not very well.
Lines: 63
Message-ID: <Xns93A33546433alsocuteandfluffywor@80.91.224.249>
References: <Xns93A2AC9379A2alsocuteandfluffywor AT 80 DOT 91 DOT 224 DOT 249>
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Xnews/5.04.25
X-Archive: encrypt

"Soren A." <somian AT adelphia DOT net> wrote in 
news:Xns93A2AC9379A2alsocuteandfluffywor AT 80 DOT 91 DOT 224 DOT 249:

> 
> Attachment decoded: cygcheck.2003.Jun.22
> --==_=_====____37794.70672821764D1BD3B9==

Sheesh. Did Gmane trip me up? There WAS all this text before the 
attached `cygcheck` output:
---------------------------------------------------------------------

Hello!

I've been trying to set up ProFTP on a WinXP Home Edition system with
Cygwin and it isn't working.

My efforts include reading "README.cygwin" under /usr/doc/proftpd/ and
making the suggested changes (insofar as I could understand the meanings
in the document) to /etc/proftpd.conf.

I understand that the ftpd has to have privs like "SYSTEM" and that
looking at past List messages, Jason Tischler says "run it as
LocalSystem" user. I don't know what OS Jason is talking about as there
is no such user "LocalSystem" on WinXP (yet XP is decended from NT).

So in the /etc/proftpd.conf file I have lines like:

  User      SYSTEM
  Group     Administrators

but when I try to run proftpd, it refuses to start because it won't
change user context. The user I run Cygwin as apparently doesn't have
sufficient perms to change user context like this. I don't know how to
add such rights to the account: the user IS (*IS* *IS* *IS*) an
"Administrator" on the local system (was created that way).

Can anyone loan me a clue about what can be done to fix this, i.e. give
my user account sufficient perms to run proftpd as "SYSTEM"?

The user management interface on WinXP that is where I'd look for
changes like those available under NT4, for changes various user rights,
just isn't there, AFAICT.

Alternatively, is there anything that can be done to convince ProFTPd to
run as another user?

I've tried (since the original broken posting) to start ProFTPd as 
another user via "runas", but it won't start the service that way (I ran 
the config script and then runas "net start proftpd"). The service 
appears in the Admin tool under "services" but trying to restart it 
always fails (i.e. it is always in a "stopped" state). Also I cannot get 
a commandline to "runas" that will work from bash, my only success has 
been from a CMD.exe prompt.

How are people doing this?

Sorry to be bitchy about it and thanks to all those who have contributed
to this port.

   Soren A.


PS. I am posting from Gmane.


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