delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/17/00:13:16

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
X-WebMail-UserID: tsfu AT graduate DOT hku DOT hk
Date: Tue, 17 Jun 2003 12:12:44 +0800
From: Jason Fu <tsfu AT graduate DOT hku DOT hk>
To: cygwin AT cygwin DOT com
X-EXP32-SerialNo: 00002816
Subject: Re: ftp, anonymous login...
Message-ID: <3EF20A9E@webmaila.hku.hk>
Mime-Version: 1.0
X-WebMail-Urgent: Y
X-Priority: 1
X-MailScanner: 0

I've created a nobody a/c, an ftp a/c and a nogroup group in my w2k3. The 
nobody a/c is with a password "nobody" and the ftp a/c a password "ftp". Both 
of them are members of the nogroup. I've updated the /etc/password by mkpasswd 
-l > /etc/passwd too afterwards.

========================================================
tsfu AT dragon ~
$ telnet -l ftp phoenix
Trying 218.188.58.94...
Connected to phoenix.
Escape character is '^]'.
Password:
Fanfare!!!
You are successfully logged in to this server!!!

ftp AT Phoenix ~
$ logout
Connection closed by foreign host.

tsfu AT dragon ~
$ telnet -l nobody phoenix
Trying 218.188.58.94...
Connected to phoenix.
Escape character is '^]'.
Password:
No directory /home/nobody!
Logging in with home = "/".
Fanfare!!!
You are successfully logged in to this server!!!

nobody AT Phoenix /
$ logout
Connection closed by foreign host.

tsfu AT dragon ~
$ ncftp phoenix
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason (ncftp AT ncftp DOT com).
Resolving phoenix...
Connecting to 218.188.58.94...

ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [Phoenix]
Logging in...
Login incorrect.
Sleeping 19 seconds...

========================================================

Do any other special thing I forget to do yet?

Thanks!!


Jason



On Mon, Jun 16, 2003 at 09:04:40PM +0800, Jason Fu wrote:
> Below are what I came across when I tried to access my proftpd with
> anonymous/ftp. Is cygwin ported of proftpd really working?

Yes, works for me:

    $ ncftp 15.1.193.136
    NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason (ncftp AT ncftp DOT com).
    Connecting to 15.1.193.136...
    ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [TISHLERJASON]
    Logging in...
    Anonymous access granted, restrictions apply.
    Logged in to 15.1.193.136.
    ncftp / >

> # A basic anonymous configuration, no upload directories.  If you do
> # not want anonymous users, simply delete this entire <Anonymous>
> # section.
> <Anonymous ~ftp>
>   User				nobody
>   Group				nogroup

Did you create the nobody user and/or the nogroup group?

Jason

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



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