* Re: proftpd
[not found] <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>
@ 2003-11-12 18:57 ` Jason Tishler
0 siblings, 0 replies; 19+ messages in thread
From: Jason Tishler @ 2003-11-12 18:57 UTC (permalink / raw)
To: Jasmin, Daniel; +Cc: Cygwin
Daniel,
Please post instead of sending private email.
On Wed, Nov 12, 2003 at 10:01:22AM -0500, Jasmin, Daniel wrote:
> Forgive me if I should have gone through another avenue to ask this
> question.
See above...
> I am trying to run proftpd on cygwin on Win2k Server. I am logged in
> as my username djasmin. My gid is mkgroup-l-d.
^^^^^^^^^^^
The above implies that you need to run mkgroup. Please read the Cygwin
User's Guide:
http://cygwin.com/cygwin-ug-net/using-utils.html#MKGROUP
> I am part of groups: Adminstrators, Users, and mkgroup-l-d. When I try
> to run proftpd I get the following message:
>
> <Machine name> - unable to set uid to 18, current uid: <my uid>
>
> I have purposefully not included my machine name and my uid.
>
> Do I need to be user SYSTEM to run proftpd? If so, I don't what the
> password is for this user.
Please read the README:
http://www.tishler.net/jason/software/proftpd/proftpd-1.2.9.README
Thanks,
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ProFTPD
2006-03-13 15:53 ProFTPD Tim Bedding
@ 2006-03-15 2:42 ` Jason Tishler
0 siblings, 0 replies; 19+ messages in thread
From: Jason Tishler @ 2006-03-15 2:42 UTC (permalink / raw)
To: cygwin
Tim,
On Mon, Mar 13, 2006 at 03:53:42PM -0000, Tim Bedding wrote:
> Has anyone written a simple README describing how to get started after
> installing the Cygwin base and then the proftpd package, assuming
> minimal knowledge of Cygwin?
See the following:
/usr/share/doc/Cygwin/proftpd-1.2.10.README
or:
http://www.tishler.net/jason/software/proftpd/proftpd-1.2.10.README
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* ProFTPD
@ 2006-03-13 15:53 Tim Bedding
2006-03-15 2:42 ` ProFTPD Jason Tishler
0 siblings, 1 reply; 19+ messages in thread
From: Tim Bedding @ 2006-03-13 15:53 UTC (permalink / raw)
To: cygwin
Hello. I am trying to get the FTP server running on
a Windows XP machine.
I installed the proftpd package and looked for a document
describing how to get things going quickly.
I found README.cygwin but it referred to cygrunsrv and
"net stop proftpd" which may correspond to packages which are
not installed. I have no inetd.conf file and proftpd is
not in /usr/local/sbin.
Has anyone written a simple README describing how to get started
after installing the Cygwin base and then the proftpd package,
assuming minimal knowledge of Cygwin?
Regards
Tim
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: proftpd
2004-03-01 23:31 ` proftpd Michael Chen
@ 2004-03-01 23:34 ` Brian Ford
0 siblings, 0 replies; 19+ messages in thread
From: Brian Ford @ 2004-03-01 23:34 UTC (permalink / raw)
To: Michael Chen; +Cc: cygwin
On Mon, 1 Mar 2004, Michael Chen wrote:
> Thanks for the reply, I learned how to find out where is the installed piece
> by the help of http://cygwin.com/packages/ . Thanks.
> Surprisingly, "which" didn't tell me that.
>
"which" only tells you about things in your PATH.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: proftpd
2004-03-01 23:10 ` proftpd Brian Ford
@ 2004-03-01 23:31 ` Michael Chen
2004-03-01 23:34 ` proftpd Brian Ford
0 siblings, 1 reply; 19+ messages in thread
From: Michael Chen @ 2004-03-01 23:31 UTC (permalink / raw)
To: cygwin
Thanks for the reply, I learned how to find out where is the installed piece
by the help of http://cygwin.com/packages/ . Thanks.
Surprisingly, "which" didn't tell me that.
-----Original Message-----
From: Brian Ford [mailto:ford@vss.fsi.com]
Sent: Monday, March 01, 2004 3:10 PM
To: Michael Chen
Cc: cygwin@cygwin.com
Subject: Re: proftpd
On Mon, 1 Mar 2004, Michael Chen wrote:
> hi, after install proftpd, the bash shell cannot find "proftpd", why?
>
It's in /usr/sbin, which is not, by default, in your PATH.
Please try a cursory look yourself before posting next time. You can also
use the package search facility at http://cygwin.com/packages/ to see
where things are installed.
To head off your next questions, please read the documentation in
/usr/share/doc/Cygwin/proftpd-1.2.9.README and
/usr/share/doc/proftpd-1.2.9/*.
Also, please consult http://cygwin.com/problems.html to learn the required
method of submitting problem reports.
HTH.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2004-03-01 22:47 proftpd Michael Chen
@ 2004-03-01 23:10 ` Brian Ford
2004-03-01 23:31 ` proftpd Michael Chen
0 siblings, 1 reply; 19+ messages in thread
From: Brian Ford @ 2004-03-01 23:10 UTC (permalink / raw)
To: Michael Chen; +Cc: cygwin
On Mon, 1 Mar 2004, Michael Chen wrote:
> hi, after install proftpd, the bash shell cannot find "proftpd", why?
>
It's in /usr/sbin, which is not, by default, in your PATH.
Please try a cursory look yourself before posting next time. You can also
use the package search facility at http://cygwin.com/packages/ to see
where things are installed.
To head off your next questions, please read the documentation in
/usr/share/doc/Cygwin/proftpd-1.2.9.README and
/usr/share/doc/proftpd-1.2.9/*.
Also, please consult http://cygwin.com/problems.html to learn the required
method of submitting problem reports.
HTH.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* proftpd
@ 2004-03-01 22:47 Michael Chen
2004-03-01 23:10 ` proftpd Brian Ford
0 siblings, 1 reply; 19+ messages in thread
From: Michael Chen @ 2004-03-01 22:47 UTC (permalink / raw)
To: cygwin
hi, after install proftpd, the bash shell cannot find "proftpd", why?
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: proftpd
2003-10-24 20:47 ` proftpd Jason Tishler
@ 2003-10-24 23:12 ` Hannu E K Nevalainen
0 siblings, 0 replies; 19+ messages in thread
From: Hannu E K Nevalainen @ 2003-10-24 23:12 UTC (permalink / raw)
To: Cygwin
> The above wont work. Use the "at trick" if you want to run proftpd
> manually:
>
>
> http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=cygwin+
> at+trick+localsystem
>
> Jason
WRT "At trick", see
http://www.cygwin.com/ml/cygwin/2003-09/msg01860.html
and have a look at the attachment, it will make life easier.
/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf("Timezone: %s\n", (DST)?"UTC+02":"UTC+01"); --
--END OF MESSAGE--
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
[not found] <BA9616F8350FB549952FC2A2CE4EA8CA63E6D7@redondo.winresources.com>
@ 2003-10-24 20:47 ` Jason Tishler
2003-10-24 23:12 ` proftpd Hannu E K Nevalainen
0 siblings, 1 reply; 19+ messages in thread
From: Jason Tishler @ 2003-10-24 20:47 UTC (permalink / raw)
To: Mark Rissman; +Cc: Cygwin
Mark,
Please post instead of sending private email.
On Fri, Oct 24, 2003 at 11:03:51AM -0700, Mark Rissman wrote:
> Any thoughts as to why proftpd service won't start on WinXP. I
> followed your article about making it a service.
See the following:
http://www.catb.org/~esr/faqs/smart-questions.html
> If I try to run manually I get.
>
> $ /usr/sbin/proftpd
> 255.255.255.255 - unable to set uid to 18, current uid: 11025
The above wont work. Use the "at trick" if you want to run proftpd
manually:
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=cygwin+at+trick+localsystem
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-08-22 10:43 ` proftpd Mauri
` (2 preceding siblings ...)
2003-08-22 19:40 ` proftpd GDN_Cygwin
@ 2003-08-24 22:23 ` Jason Tishler
3 siblings, 0 replies; 19+ messages in thread
From: Jason Tishler @ 2003-08-24 22:23 UTC (permalink / raw)
To: Mauri; +Cc: cygwin
Mauri,
[I would have responded sooner, but I have been on vacation.]
On Fri, Aug 22, 2003 at 10:35:15AM +0200, Mauri wrote:
> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> can somebody help me, please?
Try reading the README:
http://www.tishler.net/jason/software/proftpd/proftpd-1.2.9rc1.README
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
@ 2003-08-22 19:40 ` GDN_Cygwin
2003-08-24 22:23 ` proftpd Jason Tishler
3 siblings, 0 replies; 19+ messages in thread
From: GDN_Cygwin @ 2003-08-22 19:40 UTC (permalink / raw)
To: Mauri; +Cc: cygwin
Here is how you do it:
1) Modify the /etc/proftpd.conf file to have the following:
ServerType inetd
Then modify your ftp line in your /etc/inetd.conf file:
ftp stream ftp nowait root /usr/sbin/in.proftpd in.proftpd
Then restart your inetd daemon. If you did not startup the process you
will need to do this:
Startup the inetd service
cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a -d -e CYGWIN=ntsec
cygrunsrv -S inetd
If it still does not run check the /var/log/messages to see what errors
you have trying to connect to the ftp server. Most likely the
/etc/proftpd.conf file needs to be modified.
Enjoy,
Russell
On Fri, 22 Aug 2003, Mauri wrote:
> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> can somebody help me, please?
>
> I'm newbie in linux, cygwin and english :-D
> sorry for my english
>
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: proftpd
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
@ 2003-08-22 17:48 ` Hannu E K Nevalainen (garbage mail)
2003-08-22 19:40 ` proftpd GDN_Cygwin
2003-08-24 22:23 ` proftpd Jason Tishler
3 siblings, 0 replies; 19+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-08-22 17:48 UTC (permalink / raw)
To: cygwin
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Mauri
> I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
To me this indicates problems with user authentication.
That is the contents of "/etc/group" and|or "/etc/passwd" files
or something else that is related to those.
To be able to tell - more information is needed. (Please do read
www.cygwin.com/problems.html for instructions)
i.e. _attach_ the output of "cygcheck -svr" to an email and send it here.
> can somebody help me, please?
>
> I'm newbie in linux, cygwin and english :-D
> sorry for my english
No need to be sorry for that, IMO!
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?16.37'N,
17?12.60'E
--END OF MESSAGE--
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-08-22 10:43 ` proftpd Mauri
@ 2003-08-22 17:01 ` Eduardo Osorio Armenta
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
` (2 subsequent siblings)
3 siblings, 0 replies; 19+ messages in thread
From: Eduardo Osorio Armenta @ 2003-08-22 17:01 UTC (permalink / raw)
To: cygwin; +Cc: Theasker_
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1115 bytes --]
Hola Mauri
checate esta dirección:
http://www.adamswann.com/library/2001/Cygwin-Inetd.html
saludos
--- Mauri <Theasker_@terra.es> wrote:
> I need use this ftp server, but when I run
> /usr/sbin/proftpd.exe it
> don't run itself
>
> $ /usr/sbin/proftpd.exe
> EQUIPO5 - unable to set uid to 18, current uid: 500
>
> can somebody help me, please?
>
> I'm newbie in linux, cygwin and english :-D
> sorry for my english
> --
> Mauri(spain) mailto:Theasker_@terra.es
> Linux user: #267236 (sep 1999)
>
>
> --
> 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!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* proftpd
2003-08-22 9:03 accept doesn't block while running as NT service linamat
@ 2003-08-22 10:43 ` Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
` (3 more replies)
0 siblings, 4 replies; 19+ messages in thread
From: Mauri @ 2003-08-22 10:43 UTC (permalink / raw)
To: cygwin
I need use this ftp server, but when I run /usr/sbin/proftpd.exe it
don't run itself
$ /usr/sbin/proftpd.exe
EQUIPO5 - unable to set uid to 18, current uid: 500
can somebody help me, please?
I'm newbie in linux, cygwin and english :-D
sorry for my english
--
Mauri(spain) mailto:Theasker_@terra.es
Linux user: #267236 (sep 1999)
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
@ 2003-04-23 12:26 ` Gerrit P. Haase
0 siblings, 0 replies; 19+ messages in thread
From: Gerrit P. Haase @ 2003-04-23 12:26 UTC (permalink / raw)
To: Gerrit @ cygwin
Hallo Hannu,
If you really need an ftpd for Win98, there are the inetutils,
already available for Cygwin, included is also the ftpd.
BTW, it should be no problem to get it running without thew ntsec
features, but that is not what I want, if you really want to use
Win98 to setup FTP service for the internet freaks, then you're
lost...
NT gives you a little more security (well, I hope so).
Go and build Proftpd, just remove the wrong #ifdef __CYGWIN__ code
and write your password (encrypted) into your /etc/passwd file and
you have proftpd running on Cygwin/Win98. Since it builds already
without problems, I'll focus now to get NTSEC up and running too.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-04-22 9:41 ` proftpd Gerrit P. Haase
@ 2003-04-22 14:40 ` Corinna Vinschen
0 siblings, 0 replies; 19+ messages in thread
From: Corinna Vinschen @ 2003-04-22 14:40 UTC (permalink / raw)
To: Gerrit @ cygwin
On Tue, Apr 22, 2003 at 07:38:29AM +0200, Gerrit P. Haase wrote:
> Hallo Gerrit,
>
> >>> I cannot login.
> >>> [...]
> >>> +#ifdef __CYGWIN__
> >>> + /* We have to do special Windows NT voodoo with Cygwin in order to be
> >>> + * able to switch UID/GID. More info at
> >>> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
> >>> + */
> >>> + if (is_winnt) {
>
> >> Actually I'm missing something like an `else' here. The authentication
>
> > I configured with additional options and now I can login too.
> > But still having problems. Lets see what Jason figured out.
>
> I fooled myself, I entered my encrypted password into my passwd file at the
> right place and so the unix way to login is done with success, but without the
> password in my passwd file it still doesn't work.
As I said, there's probably a check (call to crypt() somewhere. The
right way to do it is to leave it alone on 9x/Me (which therefore is
no problem to support here, btw.) and to call that NT stuff on NT systems.
That can't be too much of a problem...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: proftpd
2003-04-22 9:21 ` proftpd Gerrit P. Haase
2003-04-22 9:41 ` proftpd Gerrit P. Haase
@ 2003-04-22 14:14 ` Hannu E K Nevalainen (garbage mail)
2003-04-23 12:26 ` proftpd Gerrit P. Haase
1 sibling, 1 reply; 19+ messages in thread
From: Hannu E K Nevalainen (garbage mail) @ 2003-04-22 14:14 UTC (permalink / raw)
To: ML CygWIN
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Gerrit P. Haase
> I don't need it for Win98. Windows 98 is a dead cow...
That is true escapism. 8-I
There still is some VERY useful software out there that *DOES NOT work* on
NT/2K.
I've seen such software; the education I'm finishing have included the use
of such software on several occasions. As it seems now I will most likely
meet more of the same in my future work.
One can wish... but real life situations doesn't change *that* fast.
/Hannu E K Nevalainen, Mariefred, Sweden
- in a few weeks: B.Sc. EE - micro and embedded computer systems
--END OF MESSAGE--
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-04-22 9:21 ` proftpd Gerrit P. Haase
@ 2003-04-22 9:41 ` Gerrit P. Haase
2003-04-22 14:40 ` proftpd Corinna Vinschen
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
1 sibling, 1 reply; 19+ messages in thread
From: Gerrit P. Haase @ 2003-04-22 9:41 UTC (permalink / raw)
To: Gerrit @ cygwin
Hallo Gerrit,
>>> I cannot login.
>>> [...]
>>> +#ifdef __CYGWIN__
>>> + /* We have to do special Windows NT voodoo with Cygwin in order to be
>>> + * able to switch UID/GID. More info at
>>> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
>>> + */
>>> + if (is_winnt) {
>> Actually I'm missing something like an `else' here. The authentication
> I configured with additional options and now I can login too.
> But still having problems. Lets see what Jason figured out.
I fooled myself, I entered my encrypted password into my passwd file at the
right place and so the unix way to login is done with success, but without the
password in my passwd file it still doesn't work.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: proftpd
2003-04-22 4:50 ` Corinna Vinschen
@ 2003-04-22 9:21 ` Gerrit P. Haase
2003-04-22 9:41 ` proftpd Gerrit P. Haase
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
0 siblings, 2 replies; 19+ messages in thread
From: Gerrit P. Haase @ 2003-04-22 9:21 UTC (permalink / raw)
To: Corinna Vinschen
Hallo Corinna,
Am Dienstag, 22. April 2003 um 00:23 schriebst du:
> On Mon, Apr 21, 2003 at 10:55:41PM +0200, Gerrit P. Haase wrote:
>> I could compile the current cvs source, the server runs, but ...
>> I cannot login.
>> [...]
>> +#ifdef __CYGWIN__
>> + /* We have to do special Windows NT voodoo with Cygwin in order to be
>> + * able to switch UID/GID. More info at
>> + * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
>> + */
>> + if (is_winnt) {
>> + HANDLE hToken = cygwin_logon_user(pw, pass);
>> +
>> + if (hToken == INVALID_HANDLE_VALUE)
>> + goto auth_failure;
>> + cygwin_set_impersonation_token(hToken);
>> + }
>> +#endif /* __CYGWIN__ */
>> +
> Actually I'm missing something like an `else' here. The authentication
> on NT/2K/XP is done *instead* of making any authentication like calling
> crypt() to verify the password or calling some PAM functions. You must
> make sure that on NT/2K/XP that stuff doesn't get called. On 9x/Me
> OTOH you still must use crypt() to verify the password. If you want to
> see a really simple example, have a look into the login(1) source
I don't need it for Win98. Windows 98 is a dead cow...
I configured with additional options and now I can login too.
But still having problems. Lets see what Jason figured out.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2006-03-15 2:42 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>
2003-11-12 18:57 ` proftpd Jason Tishler
2006-03-13 15:53 ProFTPD Tim Bedding
2006-03-15 2:42 ` ProFTPD Jason Tishler
-- strict thread matches above, loose matches on Subject: below --
2004-03-01 22:47 proftpd Michael Chen
2004-03-01 23:10 ` proftpd Brian Ford
2004-03-01 23:31 ` proftpd Michael Chen
2004-03-01 23:34 ` proftpd Brian Ford
[not found] <BA9616F8350FB549952FC2A2CE4EA8CA63E6D7@redondo.winresources.com>
2003-10-24 20:47 ` proftpd Jason Tishler
2003-10-24 23:12 ` proftpd Hannu E K Nevalainen
2003-08-22 9:03 accept doesn't block while running as NT service linamat
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01 ` proftpd Eduardo Osorio Armenta
2003-08-22 17:48 ` proftpd Hannu E K Nevalainen (garbage mail)
2003-08-22 19:40 ` proftpd GDN_Cygwin
2003-08-24 22:23 ` proftpd Jason Tishler
2003-01-13 2:54 inetutils ftpd fcntl(F_SETOWN) failure message suppression patch Jason Tishler
2003-01-13 3:04 ` Corinna Vinschen
2003-01-13 3:30 ` Jason Tishler
2003-01-13 3:30 ` Christopher Faylor
2003-01-13 3:30 ` Corinna Vinschen
2003-01-13 15:33 ` Jason Tishler
2003-04-22 2:10 ` proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch) Gerrit P. Haase
2003-04-22 4:50 ` Corinna Vinschen
2003-04-22 9:21 ` proftpd Gerrit P. Haase
2003-04-22 9:41 ` proftpd Gerrit P. Haase
2003-04-22 14:40 ` proftpd Corinna Vinschen
2003-04-22 14:14 ` proftpd Hannu E K Nevalainen (garbage mail)
2003-04-23 12:26 ` proftpd Gerrit P. Haase
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).