# useradd
useradd -m -d /home/username/ -s /bin/bash -G sudo username
passwd username
usernamepasswd
# ftp
sudo apt update
sudo apt install vsftpd
cp /etc/vsftpd.conf /etc/vsftpd.conf.bk
vi /etc/vsftpd.conf
local_enable=YES
write_enable=YES
local_umask=022
chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
allow_writeable_chroot=YES
vi /etc/vsftpd.chroot_list
username
# firewall
ufw allow ftp
ufw status