delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/22/19:29:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sat, 23 Mar 2002 01:28:52 +0100
From: Pavel Tsekov <ptsekov AT gmx DOT net>
X-Mailer: The Bat! (v1.53d) UNREG / CD5BF9353B3B7091
Reply-To: Pavel Tsekov <ptsekov AT gmx DOT net>
X-Priority: 3 (Normal)
Message-ID: <19813131141.20020323012852@gmx.net>
To: cygwin AT cygwin DOT com
Subject: Re[2]: Anonymous ftp on 1.3.9
In-Reply-To: <3C9BC97E.1070201@Salira.com>
References: <3C97E7F9 DOT 10602 AT Salira DOT com> <471575205 DOT 20020320094429 AT syntrex DOT com>
<3C98ED84 DOT 4070302 AT Salira DOT com> <1661350862 DOT 20020321115454 AT syntrex DOT com>
<3C9A0766 DOT 2040705 AT DeFaria DOT com> <1601254193 DOT 20020322094631 AT syntrex DOT com>
<752975278 DOT 20020322223933 AT gmx DOT net> <3C9BC97E DOT 1070201 AT Salira DOT com>
MIME-Version: 1.0

Hello Andrew,

Saturday, March 23, 2002, 1:17:02 AM, you wrote:

[snip]

AD> Now to get it working on my home PC where there is no domain controller.
AD> This is on Windows XP.

>> I've
>> determined that creating a user without a password to be used by
>> ftpd doesnt work on WinXP (maybe others too but I dont have access to test).
>> Or much better would be to say - a user without a pass cannot log in
>> into ftpd on WinXP Home. I can reproduce this behaviours each time...

AD> Funny my experience is the opposite. I turned on the Guest account then 
AD> edited my /etc/passwd to change "Guest" to "ftp" in the username field 
AD> only and set the home directory to point to my FTP area. At this point
AD> "Guest" does not have a password. Anonymous ftp works but then again so 
AD> does a telnet as user ftp without a password! Funny thing is that 
AD> anonymous ftp does not show the contents of my FTP area while telneting
AD> in as ftp does!

Guest is some kind of special beast - try with a freshly created user
which has no password. Try to login via ftp using this account -
you'll see (maybe) what I mean.

AD> Now if I put a password on the Guest account then telneting in as ftp
AD> requires that password. But now anonymous ftping doesn't!

ftpd knows anonymous is guest and passes to the API LogonUser an empty
password... Still I dont know what happens when you telnet - I've
played just with ftpd.

AD> Any ideas? I want to set up anonymous ftp but I don't want to leave
AD> myself wide open to do so.

Well its written in the README - you have to use account with an empty
pass :) Can't help...

>> PT> I got the sources for inetutils and I'm going to debug it this night.
>> 
>> Well, I did ... I learned many things :) i.e. the little secret about
>> /etc/passwd and /etc/group for exmaple :) (Yes, this is not in the
>> FAQ!)

AD> And what might that be?

The must be word readable - I dont see it anywhere in the README...
Though I know this from the mailing list..


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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