X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 18 Mar 2008 17:55:34 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: inetutils-1.5-2 test release Message-ID: <20080318165533.GA1685@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1205857963 DOT 32092 DOT 1243064787 AT webmail DOT messagingengine DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1205857963.32092.1243064787@webmail.messagingengine.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mar 18 12:32, Charles Wilson wrote: > > The test release of inetutils installs fine with setup. > > I tested it with my original xinetd setup (replacing the in.* daemons with the new ones). > > > > Authentication via ftpd does not seem to work in the new release: > > ... > > 530 Login incorrect. > > This is odd. ftpd works for me > 1) on XP SP2, where inetd is installed as a service on its own, > running under the local system account > 2) on XP SP2, where inetd is installed as a service using cygrunsrv, > running under the local system account > 3) on XP SP2, where inetd is invoked via sysvinit's init process > (/etc/rc.d/inetd), and were init is running under the local system > account > > However, ftpd does not work if inetd is running under > sshd_server/cyg_server/other_privileged_user -- so I assume it will not > yet work under vista. But that issue is not a regression, AFAICT. What > are the details of your installation? That is a regression, afaics. The privileged account needs the specific user privileges to change the user context, but if it has these privileges, it should behave not different than when running under the SYSTEM account in earlier versions of Windows. The old ftpd doesn't test the uid for being any fixed value. Same for inetd. > Hm. again, this works for me -- unless inetd is running under a > "privileged user". This is because rshd contains code to check the UID > (against '18' == LocalSystem; it doesn't know how to deal with other > privileged UIDs. But again -- the old rshd had the same limitation in > the code, Uh, no. the old rshd has this in the code: #ifdef __CYGWIN__ uid_t ROOT_UID = getuid (); #else ROOT_UID (0) #endif Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/