大里です。
> From: matsui
> Subject: [vine-users:069207] Re: vsftpdでログインディレクトリを変更するには?
> Date: Sun, 12 Dec 2004 02:12:40 +0900
> # cat /etc/vsftpd/vsftpd.conf | grep anonymous_enabl
> anonymous_enable=NO
> # service vsftpd status
> vsftpd is stopped
> # service inet restart
> Stopping INET services: [ OK ]
> Starting INET services: [ OK ]
>
> とましたが、相変わらず/var/ftp/pubにログインされます。
あなたの意図した通りの設定になっているなら、以下のような感じの
応答になるはずです(手元の RedHat にちょうど同じバージョンの vsftpd
が入っていたやつがあったので)。
やってみてください。
$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 (vsFTPd 1.1.3)
USER anonymous
331 Please specify the password.
PASS foo@example
500 OOPS: chdir
500 OOPS: child died
Connection closed by foreign host.
$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 (vsFTPd 1.1.3)
USER username
331 Please specify the password.
PASS password
230 Login successful. Have fun.
PWD
257 "/home/username"
QUIT
221 Goodbye.
Connection closed by foreign host.
質問:ところで vsftpd はどうやってコンパイルされましたか?
しかも、最新バージョンでもありませんし....。
--
kazz