Results 1 to 5 of 5
Hey..
i think the title explains it, but;
I am running proFTPD @ Ubuntu LAMP 6.06...
I want to create users with their home directorys as their root directory, so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-04-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 10
how do i set root-directory for a user ( FTP )
Hey..
i think the title explains it, but;
I am running proFTPD @ Ubuntu LAMP 6.06...
I want to create users with their home directorys as their root directory, so they cannot read any directorys on higher level..
I've heard about DefaultRoot, but I am a über noob, so I don't understand o very much of anything :P
sorry my bad English skills...
Thanks 4 all possible help
Last edited by mariyo; 10-05-2006 at 01:39 PM. Reason: better explaining in subject :)
- 10-05-2006 #2Just Joined!
- Join Date
- Oct 2006
- Posts
- 10
help me plz
nobody who knows?
or is this topic posted in wrong category?
- 10-10-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 3
Simple way
Hi, first of all, I'm from Brazil, so, sorry about any english error.
Well, what you want to do is very simple, I use Centos, but in the Ubunt must to be the same thing. The Default root is abble by default and you can edit the proftpd config in /etc/proftpd.conf (I use "vi" to edit) > vi /etc/proftpd.conf (:q to close :w to save, see vi commands, find at the google)...
The second way, that I use in my server is:
You access the config file and put the follow: include "/etc/proftpdusers.conf"
So, you create a file called proftpdusers.conf in /etc directory or anywhere you want.
In the proftpdusers.conf you put the follow:
<Directory /home/zaratustra>
<Limit ALL>
AllowUser zaratustra
</Limit>
</Directory>
<Directory /var/www/html>
<Limit ALL>
AllowUser zaratustra
</Limit>
</Directory>
<Directory /var/log/httpd>
<Limit ALL>
AllowUser zaratustra
</Limit>
</Directory>
<Directory /etc/httpd/conf>
<Limit ALL>
AllowUser zaratustra
</Limit>
</Directory>
<Directory /*>
<Limit ALL>
DenyAll
</Limit>
</Directory>
See? Simple Isn't that?
If you understand a little of Portuguese, see this tutorial:
http://www.devin.com.br/eitch/dicas_proftpd/ (you can translate with google, but be careful with the code)
Best Regards,
Zaratustra
- 10-10-2006 #4Just Joined!
- Join Date
- Oct 2006
- Posts
- 10
ahh

but i don't find my "proftpd.conf"-file in /etc :S
i'll try, but how do i split users?
like here
<Directory /var/log/httpd>
<Limit ALL>
AllowUser zaratustra
</Limit>
</Directory>
I want to grant access for both zaratustra AND mariyo..
just split with a comma or? thank u for answering me :P
- 10-12-2006 #5Just Joined!
- Join Date
- Oct 2006
- Posts
- 10
is there really nobody who knows where the pro-ftpd-config-file is at Ubuntu LAMP ?


Reply With Quote
