论坛风格切换切换到宽版
  • 1500阅读
  • 4回复

[问题求助]vsftpd.conf设定好后匿名用户为什么还是不能登陆? [复制链接]

上一主题 下一主题
离线wscxyy.
 
发帖
2093
C币
-140091
威望
377
贡献值
1
银元
-4
铜钱
4609
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
[root@Alt ~]# grep. anon ./etc/vsftpd/vsftpd.conf--------------彩票
# Allo.w anonymous FTP? (Beware - allowed by default. if you comment. this out).           鲜花
anonymous_enable=.YES电脑
# Uncomment this to .allow the anonymous FTP user to upload files. This on.ly             汽车
#anon_upload_enab.le=YES--------------彩票
# Uncomm.ent this if you want the anonymous. FTP user to be able to create.
#anon_mkdir_write_ena.bl.e=YES              乙肝
# If you want, you can arrange for uploaded a.nonymo.us files to be owned by.
# You may specify a fil.e of disallowed .anonymous e-mail addresses. Ap.parently[成人用品]
n.o_anon_password=YES.


之后restart. vsftpd[成人用品]

然后FTP:
C:\.Documents and Settings\Administrato.r>ftp 192.168.0.98.
Connect.ed t.o 192.168.0.98.           鲜花
220 W.elcome to ALT FTP servi.ce.           建材
User (192.168.0.98 : (non.e)): anon.ymous服务器
50..0 OOPS: Connection closed by remote host.

大侠能否解释下这是咋回事呢?

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线gssasd.
发帖
2090
C币
-60639
威望
395
贡献值
1
银元
-3
铜钱
4719
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
是不是要在user_list中加入anonymous?我以前也遇到过这样的问题,也没解决,觉得麻烦,就直接用本地的用户名登录了~

发帖
1973
C币
-198791
威望
339
贡献值
1
银元
-1
铜钱
4278
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
默认ftp是可以的
如果有问题就检查文件夹的权限和selinux的设置

离线blesssj.
发帖
2064
C币
-60594
威望
382
贡献值
1
银元
0
铜钱
4611
人人网人气币
0
只看该作者 地板  发表于: 2010-04-14
楼上说的很准确,佩服

离线abccabcc.
发帖
2123
C币
-60246
威望
399
贡献值
1
银元
0
铜钱
4869
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-14

vsftpd配置文件不做任何修改,启动服务,防火墙里允许,就是允许匿名访问的。
如果你没有修改过/var/ftp的权限的话,应该不会出现这样的问题。

快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个