LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   proftpd configuration (https://www.linuxquestions.org/questions/slackware-14/proftpd-configuration-55044/)

sqn 04-14-2003 04:00 PM

proftpd configuration
 
i have a proftpd ftp server up and running. The server is running ok, but I need to make a small configuration. I have a FTP user witch i would like to make so It can only write in his directory from only one place, inside my network.
how can i do that?

thx

trickykid 04-14-2003 04:23 PM

Well, create him an actual account with his own home directory, giving him read and write access to it. You can also make it so he doesn't have a valid shell either, keeping him from logging into the box by any other means besides FTP by making his default shell /bin/false and adding /bin/false to /etc/shells file.

You can also look into maybe setting him up with chroot to jail him to his own home directory, so he can't view or browse to other parts of the filesystem.

sqn 04-14-2003 04:44 PM

that user is created. The problem is like this...
From a computer inside my network in that directory can be written. But from outside the network to be read only

thx for the answer


All times are GMT -5. The time now is 01:19 PM.