问题: 奇怪! vsftpd不能匿名登陆 [solved]

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
kelen
帖子: 734
注册时间: 2008-05-02 19:50

问题: 奇怪! vsftpd不能匿名登陆 [solved]

#1

帖子 kelen » 2008-12-01 10:21

有效配置如下

代码: 全选

firefox@ubuntu:~/downloads$ cat /etc/vsftpd.conf |grep -v '^#'
listen=YES
anonymous_enable=YES
local_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ftpd_banner=Welcome to K.Cs FTP service.
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
no_anon_password=YES
登陆方式如下

代码: 全选

firefox@ubuntu:~/downloads$ ftp ubuntu 
Connected to ubuntu.
220 Welcome to K.Cs FTP service.
Name (ubuntu:kelen): 
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp> exit
221 Goodbye.
firefox@ubuntu:~/downloads$ ftp ubuntu
Connected to ubuntu.
220 Welcome to K.Cs FTP service.
Name (ubuntu:kelen): kapa
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp> 
上次由 kelen 在 2008-12-01 14:40,总共编辑 1 次。
头像
be00
帖子: 805
注册时间: 2008-07-28 19:51
来自: 长沙
联系:

Re: 问题: 奇怪! vsftpd不能匿名登陆

#2

帖子 be00 » 2008-12-01 10:57

匿名登陆的用户名是 anonymous
密码任意
我的乌斑兔儿:http://zhanggang.net/m/b/b1/ubuntu右键选择在新的窗体打开
右边有一只黄手 ----> 或者注册Dropbox中文版感谢我
头像
kelen
帖子: 734
注册时间: 2008-05-02 19:50

Re: 问题: 奇怪! vsftpd不能匿名登陆

#3

帖子 kelen » 2008-12-01 14:38

I'm a beginner on ftp, thanks advance for your reply.
anyway, i got it, thanks so much.
回复