Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
168 B
2
Indexable
Never
sudo adduser $1

sudo mkdir /home/$1/ftp
sudo chmod a-w /home/$1/ftp
sudo mkdir /home/$1/ftp/upload
sudo chown $1:$1 /home/$1/ftp/upload
sudo echo $1 >> /etc/vsftpd.ul
Leave a Comment