Author Topic: Setting Up FTP on Ubuntu Best Practice  (Read 2338 times)

ukgimp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2241
    • View Profile
Setting Up FTP on Ubuntu Best Practice
« on: December 02, 2011, 02:40:16 PM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2241
    • View Profile
Re: Setting Up FTP on Ubuntu Best Practice
« Reply #1 on: December 02, 2011, 03:06:00 PM »
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?