LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 664|回复: 1

我的vsftpd有问题,求助~~~~~~

[复制链接]
发表于 2003-12-18 19:00:03 | 显示全部楼层 |阅读模式
我修改了/etc/vsftpd.cong以后,本地用户也可以登陆,但是匿名用户却不能登陆了,如下:
# ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 1.2.1)
Name (127.0.0.1:root): ftp
331 Please specify the password.
Password:
500 OOPS: vsftpd: refusing to run with writable anonymous root
Login failed.
421 Service not available, remote server has closed connection
ftp>

我的/etc/vsftpd.conf如下:
# Example config file /etc/vsftpd.conf
listen=YES

#listen_ipv6=YES

anonymous_enable=YES

local_enable=YES
#
write_enable=YES

local_umask=022

anon_upload_enable=YES

anon_mkdir_write_enable=YES

dirmessage_enable=YES

xferlog_enable=YES

connect_from_port_20=YES

#chown_uploads=YES
#chown_username=whoever

xferlog_file=/var/log/vsftpd.log

#xferlog_std_format=YES

idle_session_timeout=600

data_connection_timeout=120

#nopriv_user=ftpsecure

#async_abor_enable=YES

#ascii_upload_enable=YES
#ascii_download_enable=YES

#ftpd_banner=Welcome to blah FTP service.

#deny_email_enable=YES

#banned_email_file=/etc/vsftpd.banned_emails

# chroot_list_enable below.
chroot_local_user=YES

#chroot_list_enable=YES

#chroot_list_file=/etc/vsftpd.chroot_list

#ls_recurse_enable=YES
 楼主| 发表于 2003-12-19 11:59:01 | 显示全部楼层
怎么没有人知道吗?
请求帮助
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表