LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 902|回复: 2

菜鸟求助!!关于VSFTPD本地用户配置文件的问题

[复制链接]
发表于 2006-9-13 00:09:38 | 显示全部楼层 |阅读模式
在/etc/vsftpd..conff中有
user_config_dir=/etc/vsftpd/userconf
chroot_list_enable=NO
chroot_list_file=/etc/vsftpd/chroot_list

chroot_list文件中含有devahb这个帐号

我在/etc/vsftpd/userconf下建立了本地用户的配置文件devahb
其中加入了
chroot_list_enable=YES

重启vsftpd服务后用本地帐号devahb登入ftp
发现依然能cd 到根分区
请问哪里出了问题???
版本FC5  vsftpd-2.0.4-1.2
发表于 2006-9-14 15:14:47 | 显示全部楼层
user_config_dir
              This powerful option allows the override of  any  config  option
              specified in the manual page, on a per-user basis. Usage is sim-
              ple, and is  best  illustrated  with  an  example.  If  you  set
              user_config_dir  to  be /etc/vsftpd_user_conf and then log on as
              the user "chris", then vsftpd will apply  the  settings  in  the
              file  /etc/vsftpd_user_conf/chris  for  the duration of the ses-
              sion. The format of this file is  as  detailed  in  this  manual
              page!  PLEASE NOTE that not all settings are effective on a per-
              user basis. For example, many settings only prior to the  user's
              session  being  started.  Examples  of  settings  which will not
              affect any behviour on a per-user basis include  listen_address,
              banner_file, max_per_ip, max_clients, xferlog_file, etc.

              Default: (none)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-15 10:23:41 | 显示全部楼层
PLEASE NOTE that not all settings are effective on a per-
user basis. For example, many settings only prior to the user's
session being started. Examples of settings which will not
affect any behviour on a per-user basis include listen_address,
banner_file, max_per_ip, max_clients, xferlog_file, etc.

似乎是这里的问题  不过那个chroot_local_user好像有安全隐患  还是NO了好
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表