1、新建用户
useradd -d /home/tcftp/all/app_video/spa00080 -m hchuan
2、配置密码
passwd haochuan (密码:HC@2020ftp )
3、增加FTP配置,配置目录
在/etc/vsftpd/userconfig中,新建haochuan,在文件中写入对应的ftp全路径
local_root=/home/tcftp/all/app_video/spa00080
4、配置白名单
在/etc/vsftpd/user_list文件中,加入白名单:haochuan