It looks like you're new here. If you want to get involved, click one of these buttons!Sign In Register
It looks like you're new here. If you want to get involved, click one of these buttons!
apt-get install vsftpd
vi /etc/vsftpd.confIn this file find these lines and set up the necessary settings to be seen like this:
sudo service vsftpd restart
sudo adduser youruserThen enter the password for this user two times and provide information if needed about that user. You can leave the additional information of the user blank by pressing "ENTER".
sudo chown root:root /home/youruser
sudo mkdir /home/youruser/yourfiles
sudo chown youruser:youruser /home/youruser/uploadsThis will let you connect with the new user to FTP server, but the user will not have access to the root directory. The new user will have access to upload files into the newly created folder.
sudo service vsftpd restartNow connection via FTP with the created user will be successful.