ftp 匿名访问设置

  为了让ftp可以匿名访问,需要设置/etc/vsftp.conf 的 anonymous_enable=YES。

  当然仅仅是这样,还是不可以的,会出现错误:

  vsftpd: refusing to run with writable root inside chroot()

  这是因为,为了避免一个安全漏洞,从 vsftpd 2.3.5 开始,chroot 目录必须不可写。使用命令:

  # chmod a-w /home/ftp
posted on 2013-12-22 16:26  Still_Raining  阅读(4094)  评论(2编辑  收藏  举报