This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: proftpd + mod_tsl + cygwin under win2003


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@tishler.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]