delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/23/14:24:10

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
Date: Mon, 23 Jun 2003 14:13:31 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: ProFTPd usable on WinXP-HE, questionable to me
In-reply-to: <Xns93A33546433alsocuteandfluffywor@80.91.224.249>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20030623181331.GA1916@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <Xns93A2AC9379A2alsocuteandfluffywor AT 80 DOT 91 DOT 224 DOT 249>
<Xns93A33546433alsocuteandfluffywor AT 80 DOT 91 DOT 224 DOT 249>

Soren,

On Mon, Jun 23, 2003 at 09:14:02AM +0000, Soren A. wrote:
> "Soren A." <somian AT adelphia DOT net> wrote in 
> news:Xns93A2AC9379A2alsocuteandfluffywor AT 80 DOT 91 DOT 224 DOT 249:
> I understand that the ftpd has to have privs like "SYSTEM" and that
> looking at past List messages, Jason Tischler says "run it as

s/Tischler/Tishler/

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

The built-in Windows "LocalSystem" account maps to the Cygwin "SYSTEM"
user.

> So in the /etc/proftpd.conf file I have lines like:
> 
>   User      SYSTEM
>   Group     Administrators

The above should be correct.

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

Did you install proftpd as a NT service via cygrunsrv as indicated in
the README?

    http://www.tishler.net/jason/software/proftpd/proftpd-1.2.9rc1.README
    
> 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).

See my next post.

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

You should be able to run proftpd under SYSTEM on XP Home.  However, I
do not have access to XP Home so I cannot verify this hypothesis.

BTW, can you run other daemons such as inetd or sshd on this box?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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