1、安装proftpd
        apt-get install proftpd

2、创建目录
        mkdir /ftproot

3、添加用户
        useradd testu1

4、赋/ftproot的权限给testu1
        chmod 666 /ftproot

5、编辑配置文件(vi /etc/proftpd/proftpd.conf),在配置文件最后加入

DefaultRoot /ftproot

UseReverseDNS off
<Directory /ftproot>
     <Limit ALL>
          AllowUser testu1
     </Limit>
</Directory>

6、重启动proftpd
        /etc/init.d/proftpd restart