delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/24/10:23:40

X-Spam-Check-By: sourceware.org
Message-ID: <20060224152332.2083.qmail@web35510.mail.mud.yahoo.com>
Date: Fri, 24 Feb 2006 07:23:32 -0800 (PST)
From: Tyler Durden <t_dur_den AT yahoo DOT com>
Subject: Re: proftpd + mod_tsl + cygwin under win2003
To: cygwin AT cygwin DOT com
In-Reply-To: <20060223173833.GA3640@tishler.net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

It turns out, I had the persmissions wrong on
/usr/local/var.  Once I changed that, the service
started fine and I could FTP. However, it's logging
these errors in /var/log/proftpd.log

server (client.domain.com[10.0.0.28]) - FTP session
opened.
server (client.domain.com[10.0.0.28]) -
PRIVS_RELINQUISH: unable to seteuid(PR_ROOT_UID):
Permission denied
server (client.domain.com[10.0.0.28]) - USER xyz:
Login successful.
server (client.domain.com[10.0.0.28]) -
PRIVS_RELINQUISH: unable to seteuid(session.uid):
Permission denied
server (client.domain.com[10.0.0.28]) - PRIVS_ROOT:
unable to seteuid(): Permission denied
server (client.domain.com[10.0.0.28]) - PRIVS_SETUP:
unable to setuid(): Permission denied
server (client.domain.com[10.0.0.28]) - PRIVS_SETUP:
unable to seteuid(): No such process
server (client.domain.com[10.0.0.28]) -
PRIVS_RELINQUISH: unable to seteuid(session.uid): No
such process
server (client.domain.com[10.0.0.28]) - FTP session
closed.

Any idea what could be causing this?  There is some
info about CYGWIN-PATCHES in the
/usr/share/CYGWIN/proftpd-1.2.10.README file but I
don't have those files.  I also saw some info about
how something changed in Win2003 where changing UID
isn't supported (!?).  Could that be the reason since
I'm running in Win2003?

Thanks in advance for any help.

-Moe

--- Jason Tishler <jason AT tishler DOT net> wrote:

> On Wed, Feb 22, 2006 at 01:00:53PM -0800, Tyler
> Durden wrote:
> > When I run the daemon (net start "cygwin proftpd"
> in
> > Windows), I get this error in /var/log/proftpd.log
> > 
> > myservername - PRIVS_RELINQUISH: unable to
> > seteuid(session.uid): Invalid argument
> > myservername - PRIVS_RELINQUISH: unable to
> > seteuid(session.uid): Invalid argument
> > myservername - error opening scoreboard:
> Permission
> > denied
> > 
> > I have done everything while logged in as
> > administrator, the service is configured to run as
> > SYSTEM.  I tried changing default permission in
> the
> > /var/proftpd directory and ownership (for
> scroeboard
> > file) to SYSTEM or administrators (root) without
> any
> > success.
> 
> What do the following commands indicate?
> 
>     $ ls -ld /var/proftpd
> 
>     $ strings /usr/local/sbin/proftpd.exe | fgrep
> proftpd.scoreboard
> 
> 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/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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