Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: "Gerrit P. Haase" cc: cygwin AT cygwin DOT com Subject: Re: proftpd running on cygwin In-Reply-To: <152201307384.20030424075118@familiehaase.de> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 . 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/