ee99ee2
12-02-2001, 10:46 PM
I use ProFTPD, but I need to setup accounts to where people can see their directory, and for every user it's different. They can't be able to go above what I set their home directory as, and when they connect, they don't need to see the full path, just "/". How can I do this?
-ee99ee2
I just did this with my own ProFTP server.
Look in the docs for "chroot jail" -- they tell you exactly how to do it.
If I remember off the top of my head you need the following line in your proftpd.conf file (mine is right above my <directory> section):
DefaultRoot ~
That will "jail" a user to their home directory and not allow them to see anything "above" it.
[ 02 December 2001: Message edited by: MGP ]