登录用的是匿名用户:vsftpd.conf文件如下:
listen=YES
anonymous_enable=YES
local_enable=YES
pam_service_name=vsftpd
write_enable=YES
download_enable=YES
anon_upload_enable=YES
ftpd_banner=Welcome!
下载时的情况:
ftp> get
(remote-file) a
(local-file) ~/a
local: /home/toddy/a remote: a
200 PORT command successful. Consider using PASV.
550 Failed to open file.
上传时的情况:
ftp> put
(local-file) ~/ls
(remote-file) ls
local: /home/toddy/ls remote: ls
200 PORT command successful. Consider using PASV.
553 Could not create file.
将/var/ftp/的属性修改成777后,又出现新的情况:
说的是匿名用户登录的问题,可是我是允许匿名用户访问的啊?
Connected to 127.0.0.1.
220 Welcome!
Name (127.0.0.1:toddy): 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
vsftpd的配置问题,既不能上传也不能下载!希望各位高手不吝赐教
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- utnubudnai
- 帖子: 53
- 注册时间: 2007-06-20 15:45
- utnubudnai
- 帖子: 53
- 注册时间: 2007-06-20 15:45