DimGR
07-07-2005, 06:38 PM
is there a way to limit what a user can access on my ftp server?
i want to be able to browse just /mnt/hdb1 and not all of my hds :)
i want to be able to browse just /mnt/hdb1 and not all of my hds :)
|
Click to See Complete Forum and Search --> : limited ftp access DimGR 07-07-2005, 06:38 PM is there a way to limit what a user can access on my ftp server? i want to be able to browse just /mnt/hdb1 and not all of my hds :) DSwain 07-07-2005, 09:25 PM I think it depends on the type of daemon you're using to run the FTP server. I use vsftpd, and all I have to do is simply make the user so that the home directory is one folder. Once you do this, you add the user to the vsftpd.chroot_list and it chroot's the user when they log in via FTP to the home directory supplied. This, in turn, causes for the folder they have to be the top directory and not see anything else. Other daemons will require different things I'd suspect. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |