Linux工具放送Pure-FTPd初步接触
发表于:2007-07-04来源:作者:点击数:
标签:
./configure --prefix=/usr/local/pureftpd --with- mysql --with-puredb --with-shadow --with-pam --with-paranoidmsg --with-welcomemsg --with-uploadscript --with-cookie --with-virtualchroot --with-virtualhosts --with-virtua lr oot --with-diral
./configure --prefix=/usr/local/pureftpd --with-
mysql --with-puredb --with-shadow --with-pam --with-paranoidmsg --with-welcomemsg --with-uploadscript --with-cookie --with-virtualchroot --with-virtualhosts --with-virtua
lroot --with-diraliases --with-quotas --with-sysquotas --with-rat
ios --with-ftpwho --with-throttling --with-language=simplified-chinese
make
make check
make install
mkdir /usr/local/pureftpd/etc #搞不明白为什么系统没建立这个文件夹
cd configuration-file
chmod u+x pure-config.pl
cp pure-config.pl /usr/local/pureftpd/bin
cp pure-ftpd.conf /usr/local/pureftpd/etc
cd ..
cp pureftpd* /usr/local/pureftpd/etc/
修改pure-ftpd.conf 让他基本使用起来,并保证基本的
安全,过几天再慢慢研究
vi /usr/local/pureftpd/etc/pure-ftpd.conf
默认的配置文件只支持匿名登录,你只要稍微修改一下就可以支持l
unix系统用户登陆了
ChrootEveryone yes
AnonymousOnly no
#是否只让匿名登录
NoAnonymous yes
#不开放匿名登入
UnixAuthentication yes
#如果你想要有简单的Unix(/etc/passwd)的认证的話
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
#(”.”)开头的文件能不能被读/写
启动pure-ftpd
/usr/local/pureftpd/bin/pure-config.pl /usr/local/pureftpd/etc/pure-ftpd.conf
原文转自:http://www.ltesting.net