Results 1 to 5 of 5

Thread: Need FTP help

  1. #1
    Join Date
    Jul 2013
    Beans
    1

    Need FTP help

    I have looked everywhere to figure out how to restrict users to their directories.

    All the things I have tried either broke my server to where I could no longer login to SSH or just did not do what it was suppose to.

    What I need is help creating FTP users and only allowing them to look into a specific directory.
    The directory does not have to be /home/user I just need it so they can not leave that directory.

    I have Ubuntu 12.04 LTS 64-bit

    I am on a fresh install. Only thing I have done is install java and some game server files.

  2. #2
    Join Date
    Dec 2005
    Beans
    5

    Re: Need FTP help

    which ftp server are you using? if its vsftpd then take a look at https://help.ubuntu.com/10.04/server...tp-server.html

    Securing FTP
    There are options in /etc/vsftpd.conf to help make vsftpd more secure. For example users can be limited to their home directories by uncommenting:

    chroot_local_user=YES
    You can also limit a specific list of users to just their home directories:

    chroot_list_enable=YES
    chroot_list_file=/etc/vsftpd.chroot_list
    After uncommenting the above options, create a /etc/vsftpd.chroot_list containing a list of users one per line. Then restart vsftpd:

    sudo /etc/init.d/vsftpd restart

  3. #3
    Join Date
    Jan 2005
    Location
    Canada
    Beans
    27
    Distro
    Xubuntu Development Release

    Re: Need FTP help

    I suggest you use proftpd and webmin. It's very simple to do!
    Give a man a fish and he will eat for a day. Teach a man to fish and he will eat for life.

  4. #4
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    564
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need FTP help

    I have a step-by-step tutorial on how to setup FTP over SSL using vsftpd and covers how to confine users to their upload folders.

    Here is the link, which is also in my sig: How to Install an FTP over SSL Server (FTPS)

  5. #5
    Join Date
    Jul 2013
    Beans
    2

    Re: Need FTP help

    nice tutorial, how do you add FXP?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •