LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   FTP user problem (https://www.linuxquestions.org/questions/linux-server-73/ftp-user-problem-721352/)

jerome123 04-24-2009 03:32 AM

FTP user problem
 
Hello,

I'm making a FTP server, but i've a problem: When a user connect with the FTP server, he starts in /var/www, but when he types in his computer cd .. he can go to /var, where he can enter the command again and then he is in the root directorie. I don't want that, but i don't know how?


kind regards

Jerome

druuna 04-24-2009 03:39 AM

Hi,

That depends on the ftp server you use.

- Which one are you setting up (Pure-FTPd, ProFTPD, vsftpd, ...)?
- How did you configure this server (out-of-the-box, did you change anything, anonymous users only, ...)?

A bit more info is needed to answer the question.

jerome123 04-24-2009 03:50 AM

there is only one user can log in, he is not root, anoymius is not allowd! i'm ussing vsftpd

repo 04-24-2009 04:27 AM

in vsftpd.conf
set
Code:

chroot_local_user=YES
restart vsftpd


All times are GMT -5. The time now is 09:07 AM.