|
发表于 2010-6-28 00:14:53
|
显示全部楼层
Post by 小锐同学;2099925
passwd中指定的路径名称要写对,然后指定的路径的权限要设置正确。
man中有说:
passwd_chroot_enable
If enabled, along with chroot_local_user , then a chroot() jail
location may be specified on a per-user basis. Each user's jail
is derived from their home directory string in /etc/passwd. The
occurrence of /./ in the home directory string denotes that the
jail is at that particular location in the path.
Default: NO
这个选项不知道有没有用,我添加上去后然后再修改好权限就可以了。
好像这个选项不是干这个的。
有个anon_root选项,是指定匿名用户根目录的 |
|