LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question on ftp (https://www.linuxquestions.org/questions/linux-newbie-8/question-on-ftp-185880/)

ssudhi 05-25-2004 09:25 PM

Question on ftp
 
I am building a web application that will serve as a client for admin tasks for a linux host at the back end.



One of the tasks that the client will allow users to do is to create ftp users. When normal users are created I add the user name to /etc/ftpusers and this forbid them for making ftp connections. For an ftp user, the entry is not made into /etc/ftpusers. I set the home of the ftp user to the default path for ftp so when this user makes an ftp connection (s)he lands up at that path. However, I’d like to restrict the ftp user to path. How can I achieve this? Is there some file like /etc/ftpusers that allow you to do this?

Thanks in advance

david_ross 05-26-2004 02:06 PM

You will need to look into chrooting. How you do it depends on what server you have.


All times are GMT -5. The time now is 02:40 PM.