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