LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vsftpd and chroot (http://www.linuxquestions.org/questions/linux-networking-3/vsftpd-and-chroot-298870/)

gbj 03-07-2005 05:46 PM

vsftpd and chroot
 
I have recently installed and (almost) successfully configured vsftpd on my suse 9.2 computer. The trouble that I have is this...I want to jail(chroot) every ftp user to a specific directory that is not their home directory but a directory where I store files that I want other people to access. How do I go about doing this? Any help is appreciated. Sorry for my bad english.

narmida 03-07-2005 06:02 PM

Put this in : /etc/vsftpd/vsftpd.conf

chroot_local_user=YES

and change in the /etc/passwd the home directory of the user to the directory you want them to be jailed in

also make them member of a group that is also allow to that directory

gbj 03-08-2005 02:36 AM

Thank you so much, this did the trick :)

gbj 03-08-2005 02:47 AM

One more question tough, and sorry for being such a noob. How can I have multiple users share the same default home directory?


All times are GMT -5. The time now is 12:59 AM.