To install FTP server:
sudo apt-get install vsftpd
- Edit vsftpd configuration
sudo nano /etc/vsftpd.conf
- Search and change the fllowing lines
anonymous_enable=YES Change To anonymous_enable=NO
#local_enable=YES Change To local_enable=YES
#write_enable=YES Change To write_enable=YES
- also add a line to the bottom of the file
force_dot_files=YES
sudo service vsftpd restart
To allow root access: (don't!):
sudo nano /etc/ftpusers
- Searcg abd cgabge the following line
root Change to #root
sudo nano /etc/vsftpd.conf
- Add the following line to the bottom of the file
userlist_deny=YES