Setting Up FTP on Ubuntu Best Practice

Started by ukgimp, December 02, 2011, 02:40:16 PM

Previous topic - Next topic

ukgimp

I only ever use SSH, but I have to set up one server with FTP.

I have concerns as I have never done it before and I dont want to leave gaping holes.

I have a new linux user set up and I am going to nest different websites in that users folder.

/home/ws/www/webiste1.co.uk
/home/ws/www/webiste2.co.uk

etc

Do I create an FTP account with the same un/pw as a the SSH or a new FTP username that somehow has access to the www directory above.

Any hints or tips appreciated, with things like security etc.

Cheers

ukgimp

OK

I installed vsftp then edited the config file.

Added one thing which is chroot so they are locked in to the home directory.

Is that it? Safe?