[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virtual ftp folders



On Wed, 5 Feb 2003, Bernie Berg wrote:

> 	I'm running woody with with the woody packages.  I would like to make 
> it so when a user logs in via ftp they only see the folder a specify, 
> not the entire file structure.  What would be the best ftp server to use 
> for the task, and how would I configure it?  I currently use proftp.

You should be able to do this with your ProFTPd.
Do you have an /etc/proftpd.conf file?

Add a line like:

DefaultRoot ~

(This tilde means that it will chroot to the users home directory.)

Then run "/etc/init.d/proftpd restart"

I usually use lukemftpd which also can chroot. (It is now called
"tnftpd".)

  Jeremy C. Reed

.....................................................
 Apache (and NetBSD) Training in Phoenix, Arizona
 http://www.pugetsoundtechnology.com/training/apache/
.....................................................




Reply to: