本石です。
anonymous で接続しているのであれば
確か、/etc/passwd の記述がおかしくて login ディレクトリが存在しないものに
なっていたと過去ログでもあったかと思います。
/etc/passwd の中の
ftp から始まる行の home path の指定を
/var/ftp -> /home/ftp
に修正することで解決できるはずです。
あなた < "Yongdai Han" <yongdai@xxxxxxxxxxxxx> > さんが
Mon, 6 Jan 2003 17:40:08 +0900 に書いたメールです。
> 韓@韓国ソウル在住です。
>
> 佐藤様ご回答ありがとうございます。
> inetd経由の起動方法ですね。以前はこの方法で試していたのですが、
> 同じように接続できませんでした。再度ご指摘の方法で試してみました。
>
> 以下に環境を記述します。
>
> (inetd.conf)の内容
> #
> #ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
> ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd
> telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
> #
>
> (proftpd.conf)の内容
> ServerName "ProFTPD Basic Configuration"
> ServerType inetd
> DefaultServer on
> #
> Port 21
> Umask 022
> #
> MaxInstances 30
> #
> User nobody
> Group nobody
> #
> <Directory /*>
> AllowOverwrite on
> </Directory>
> #
> <Limit LOGIN>
> Order deny,allow
> Deny from ALL
> Allow from 192.168.0.0/255.255.255.0
> </Limit>
> #
>
> (hosts)の内容
> 127.0.0.1 localhost localhost.localdomain
> 192.168.0.1 apple
>
> (hosts.allow)の内容
> ALL : 127.0.0.1
> ALL : 192.168.0.0/255.255.255.0
> ## for telnet
> in.telnetd : 192.168.0.0/255.255.255.0
> ## for proftpd
> in.proftpd : 192.168.0.0/255.255.255.0
>
> (hosts.deny)の内容
> ALL : ALL
>
> 以上の環境で
>
> /etc/rc.d/init.d/proftpd のコメントを修正
> ('d' が抜けているので追加する)
> # config: /etc/proftpd.conf
>
> 稼動中の proftpd を停止し、inetd を再起動
> /etc/rc.d/init.d/proftpd stop
> /etc/rc.d/init.d/inet restart
> でinetdを再起動し、再度Windows2000(192.168.0.1)からWs_FTP ProでFTP
> をこころみましたが、やはりだめなようです。
>
> 原因はいったいなんなのでしょうか?どなたかご存知の方がいたらアドバイス
> よろしくお願い致します。
>
>
> ----
> 韓 勇大
> yongdai@xxxxxxxxxxxxx
−−
Name : 本石 真一郎
E-mail : s-motoishi@xxxxxxxxxxxx