vsftp限制用户只能访问自己的目录


编辑用户访问目录:

编辑:vsftpd.conf

#chroot_list_enable=YES

改为:

chroot_list_enable=YES

创建:chroot_list,由于安装完vsftp后没的chroot_list所以只能我们自己创建

touch chroot_list

输入用户名(以123为倒):

123

发表评论

您的邮箱地址不会被公开。