How do I chroot a user in proftpd?
5,128
Check out the DefaultRoot configuration parameter. With that you can modify the directory to which the user is restricted.
You have two options:
- Set DefaultRoot to the homedir and create/modify an user so that it's home-directory is
/var/www/html/
- Set DefaultRoot to
/var/www/html/
Related videos on Youtube
![Lynob](https://i.stack.imgur.com/gkgdd.jpg?s=256&g=1)
Author by
Lynob
Updated on September 18, 2022Comments
-
Lynob almost 2 years
I installed proftpd 1.3.4e successfully. I have compiled it, and did the
make install
part but I want to configure it, don't know how to do so. I want when logged in to be in/var/www/html/
I followed this tutorial:
http://www.webune.com/forums/how-to-install-proftpd-linux-centos.html
I have centos 5. Would anyone tell me how to configure it, to be working properly so I can connect using an ftp client?
-
Lynob almost 13 yearsthx sir i solved it