Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户登录时如何配置用户以将 root 更改为其主文件夹的子目录。IE/home/username/files
/home/username/files
编辑
/etc/vsftpd/vsftpd.conf
添加或更改:
chroot_local_user=YES user_sub_token=$USER local_root=/home/$USER/directory