ubuntu下搭建ftp服务器 首先设置如下: ``` local_enable=YES write_enable=YES chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list allow_writeable_chroot=YES ``` 建立用户文件 ``` chroot_list_enable=YES # (default follows) chroot_list_file=/etc/vsftpd.chroot_list ``` 建立用户 ``` groupadd ftpgroup useradd -g ftpgroup -m ftpuser ``` 如果报530错误: ``` sudo apt-get remove vsftpd sudo rm /etc/pam.d/vsftpd sudo apt-get install vsftpd ``` 来自 大脸猪 写于 2017-01-27 23:12 -- 更新于2020-10-19 13:06 -- 1 条评论