文章目录

配置proftpd 相关

groupadd -g 46 proftpd 
 useradd -c proftpd -d /data -g proftpd -s /usr/bin/proftpdshell -u 46 proftpd 
 install -v -d -m775 -o proftpd -g proftpd /data 
 ln -v -s /bin/false /usr/bin/proftpdshell 
 echo /usr/bin/proftpdshell >> /etc/shells `</pre>

ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3d.tar.bz2

<pre>`./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run 
make
make install`</pre>

配置文件就只改下user group

添加用户
<pre>`useradd -g groupname -d /var/www/dirname -s /sbin/nologin loginname`</pre>

修改配置文件:
<pre>`User    loginname
Group   groupname
AnonRequirePassword             on
RequireValidShell               off
# Limit the maximum number of anonymous logins
MaxClients                    100
MaxClientsPerHost             3
TransferRate  RETR            50000000
文章目录