[ubuntu-uk] FTP Server Problems - Help?

Daniel Case danielcase10 at googlemail.com
Tue Aug 10 03:28:17 BST 2010


I just set it in the config file:
It told me to uncomment the line which said something along the lines of:

DocumentRoot: ~

If i set it to an actual directory it will be fine, for example: /var/www
But then how do i set diff users diff directories?
Daniel

On 9 August 2010 23:54, Simon Greenwood <sfgreenwood at gmail.com> wrote:

> That sounds really familiar but I haven't done anything with ProFTPD for a
> long time. How do you set up the chroot?
>
> S
>
> On 9 Aug 2010 23:05, "Daniel Case" <danielcase10 at googlemail.com> wrote:
>
> Hi There guys, I have a little server that I use for testing purposes and
> im having some problems with FTP.
> I am using Ubuntu 10.04 and proftpd
>
> When I do not chroot local users it will go to there home directory when
> they log in (/home/ftp for my FTP user) but the problem with that is they
> can get out quite easily so i tried to jail them in the chroot.
>
> For some reason whenever I set that it puts the user straight into the root
> directory and doesn't let them into anything. I was expecting it to just
> chroot the user in /home/ftp
>
> I did put this on the Ubuntu Forum but it appears no-one could answer, i
> bumped it twice after it dropped from the fifth page...
>
> --
>
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20100810/fd11be9f/attachment.htm 


More information about the ubuntu-uk mailing list