Proftpd: How to set default root to a users home directory without jailing the user?
Posted
by sacamano
on Server Fault
See other posts from Server Fault
or by sacamano
Published on 2010-03-27T12:12:57Z
Indexed on
2010/03/27
12:23 UTC
Read the original article
Hit count: 196
Hi there.
I've installed proftpd on my debian box but I'm having having some trouble with the configuration.
In my proftpd.conf I've added;
DefaultRoot ~ !ftp_special
This works fine in that all users except members of ftp-special are unable to navigate outside of their home folder. However, I want users that are members of ftp-special to enter a special home folder when logging on to the ftp server but at the same time I want them to be able to navigate the entire server.
Right now, if a user that is a member of ftp-special logs on his entry-point is the root ( / ).
Thanks in advance.
© Server Fault or respective owner