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: inetutils-1.5-2 test release


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/


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