Forum Moderators: phranque

Message Too Old, No Replies

Prevent backtrack from FTP home directory?

Keeping users in their home directory

         

keithj

5:25 pm on Apr 25, 2004 (gmt 0)

10+ Year Member



I'm currently using ProFTPD on an apache server. I want to set up a user for a virtual host, so that they only have access to that. I'm able to set their home directory in the .conf file, but once logged in, they can move back up the directory structure, all the way back to root. I suppose that they are limited in what they can do as an owner, but I'd still rather keep them trapped in their own little world. Any suggestions on where to look for info?

Romeo

6:35 pm on Apr 25, 2004 (gmt 0)

10+ Year Member



Hi Keith,

I don't use proFTPD here, so I just asked Google for "ProFTPD root directory".
The first hit gives the information "ProFTPD has a setting to set the default root. I use "DefaultRoot ~" to keep users inside their home directory."
The second hit leads to the original proFTPd documentation [proftpd.org...] which confirms the above hint.

HTH and regards,
R.

keithj

3:21 am on Apr 26, 2004 (gmt 0)

10+ Year Member



Thanks for the help. I had tried the DefaultRoot command, but either my particular configuration doesn't like it, or the ISP has it blocked in someway. I've tried digging through the docs, but no luck so far. Will keep looking though... thanks!