PDA

View Full Version : Lock ftp user in directory - ie no parant paths


pedro_morgan
13th August 2007, 14:30
Is it possible with proftpd to "lock" an user in the login/home directory so they cannot see or navigate to the parent ?

eg the ftp client cant navigate away from /var/www/web_user_name/

regards
pete

till
14th August 2007, 10:59
Yes, add the following line in the proftpd.conf file:

DefaultRoot ~

Thats described in the perfect setup guide for your linux distribution too, it is always a good idea to configure your system as described in the howtos.