vsftp怎么锁定用户在自己主目录?

由 jxwaxqb 在 12-03-2003 18:03 发表:

vsftp怎么锁定用户在自己主目录?

我想锁定用户ftp上来只能在自己的主目录操作,还想允许匿名访问某个特定目录,怎么才能实现?

该在/etc/vsftpd.conf中加几句什么内容,和vsftpd的工作模式有关吗?


我爱Cisco,我更爱Linux。


由 xjdong 在 12-03-2003 19:35 发表:


在 vsftpd.conf 设置

chroot_list_enable=no

chroot_list_file=/etc/vsftpd.chroot_list

然后只有在 vsftpd.chroot_list 文件中的用户才能随意切换目录


由 jxwaxqb 在 12-04-2003 13:04 发表:


按楼上的指示做了,但无效。

我加了这么一行就行了:chroot_local_user=YES

另:允许匿名怎么设啊?


我爱Cisco,我更爱Linux。


由 happy2000mt 在 12-04-2003 13:49 发表:


加这一行就全部限制了

看看这篇文章吧,北南 老大的杰作~~~非常不错的哦``

http://www.linuxsir.org/bbs/showthr...;threadid=42075


Fedora Core 2.0 (Kernel 2.6.6)

Epox 8RDA3+

Athlon XP 2500+

DDR333 512M

Geforce MX440 SE

Seagate 7200.7 80G


由 xjdong 在 12-04-2003 14:24 发表:


<block

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus