ftp服务,权限配置方面,proftpd 的可配置性还是比vsftpd要强一些,能实现粒度更细的权限配置
环境: CentOS 7
软件下载:http://www.proftpd.org/
解压 tar -zxv -f proftpd-1.3.6.tar.gz && cd proftpd-1.3.6
编译 ./configure —enable-nls –prefix=/usr/local/proftpd (其中nls是mod_lang,文档:http://www.proftpd.org/docs/modules/mod_lang.html )
启动脚本 cp ./contrib/dist/rpm/proftpd.init.d /etc/init.d/proftpd,这个要修改: start /usr/local/proftpd/sbin/proftpd
添加开机启动 chkconfig –level 345 –add proftpd
配置proftpd /usr/local/proftpd/etc/proftpd.conf,其中配置了两个组:Admin和Tech,其中jiqiang属于Tech组,目录有Dept.Public和Dept.Tech,Admin组成员和jiqiang对public有读写权限,其他人只有读权限,jiqiang对Tech有读写权限,其他人只能上传不能下载
ServerName “FTP-WM”
ServerType standalone
Se