LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FTP users prevent browsing to other directories (https://www.linuxquestions.org/questions/linux-software-2/ftp-users-prevent-browsing-to-other-directories-320984/)

mephesto 05-07-2005 07:31 AM

FTP users prevent browsing to other directories
 
hi there,

I've installed my first fedora box to use as a ftp server for my network, locally and public. For the public users they will be redirected to the /var/ftp/pub/ directory, and have upload and download permissions.

What i would like to prevent is that these users are able to browse to the upper directories in the tree.

I've added the users for public ftp only to the ftp group, but still they are able to browse to the etc directory and download my config files.

how do i prevent this from happening?

thanks a lot for your help.

trickykid 05-07-2005 08:18 AM

chroot is your friend.. and if your using vsftpd, it has an option you can put in your vsftpd.conf file to do this as well.. locks users in their home directory.

mephesto 05-07-2005 10:03 AM

<selfslappingmode>
thnx, should have spotted that myself :P works fine now.
</selfslappingmode>


All times are GMT -5. The time now is 05:24 AM.