delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/24/01:52:08

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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 24 Apr 2003 01:51:57 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: proftpd running on cygwin
In-Reply-To: <152201307384.20030424075118@familiehaase.de>
Message-ID: <Pine.GSO.4.44.0304240150420.10996-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 24 Apr 2003, Gerrit P. Haase wrote:

> Hallo Jason,
>
> Am Mittwoch, 23. April 2003 um 22:35 schriebst du:
>
> > Gerrit,
>
> > On Wed, Apr 23, 2003 at 10:23:20PM +0200, Gerrit P. Haase wrote:
> >> Am Mittwoch, 23. April 2003 um 12:42 schriebst du:
> >> > Did you also change proftpd to understand that Cygwin's root uid and
> >> > gid are not 0, but 18 and 544 respectively?  If not, will you?  Note
> >> > that I can send you a patch that should point you in the right
> >> > direction.
> >>
> >> I saw s.th. similar in another source, openssh I guess.  I will
> >> include it, no problem.  However, your patch would be highly welcome!
>
> > The patch is in the following post:
>
> >     http://cygwin.com/ml/cygwin/2003-04/msg01918.html
>
> > Please test it and then try to get it accepted into proftp CVS.
>
> It compiles without problems.  When I try to start the daemon from the
> commandline I have problems, it cannot switch user context to the user
> defined in /etc/proftpd.  Is there some magic needed for switching user
> context in NT/Cygwin too (like it is needed for logon)?
>
> Gerrit

Gerrit,

AFAIK, only SYSTEM can switch user contexts unless other accounts are
given special privileges.  See
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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