Lock ftp user in directory - ie no parant paths

Discussion in 'Installation/Configuration' started by pedro_morgan, Aug 13, 2007.

  1. pedro_morgan

    pedro_morgan ISPConfig Developer ISPConfig Developer

    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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     

Share This Page