PDA

View Full Version : trying to install vsftpd on ubuntu 14.04



niklas_u_f
July 6th, 2015, 12:32 AM
hello

I´m new in this, i only have my server on a hotell, but now i´m using amazon.
like the title say so i´m trying to install vsftpd on ubuntu.
But it´s doesent work for me.

I install it:

sudo apt-get install vsftpd

sudo nano /etc/vsftpd.conf
- anonymous_enable=NO
- local_enable=YES
- write_enable=YES
- chroot_local_user=YES

I create a new folder with

mkdir /home/username/files

chown root:root /home/username

sudo service vsftpd restart
And then i try to access the ftp.
I can´t get in.

And i dont now what is wrong.

I hope someone can help me.

niklas_u_f
July 8th, 2015, 12:37 AM
Bump

sinep2
July 8th, 2015, 02:52 AM
Try removing VSFTPD with,
sudo apt-get --purge remove vsftpd
Then reinstall it with,
sudo apt-get install vsftpd
Then configure it again at /etc/vsftpd.conf
Now, when you login to your FTP client login with your account you created at first(Ubuntu Installation Account)
When I installed VSFTPD I never changed any file permissions for VSTPD.