红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

利用Proftpd在Debian系统中建立FPT Server

发布时间:2007-09-07 00:43:18来源:红联作者:million
Gadmintools 是一组使用 C/GTK+ 写成的图形化管理工具,其目的在于把易用性与便利性带给用户。Gadmintools 现已开发完成了 GDHCPD、GBIND Admin、GPROFTPD、GSAMBAD 等四个管理工具,分别用于管理 ISC DHCPD 服务器、ISC BIND DNS 服务器、Proftpd 服务器、Samba 文件及打印共享服务器。----Gadmintools-服务器管理工具箱

首先要在系统中添加用户:
useradd -d /home/guangtao -g nogroup -s /bin/fales guangtao

proftpd配置文件:这个配置文件是由Gproftpd生成的
ServerType standalone
DefaultServer on
Umask 022
ServerName "0.0.0.0"
ServerIdent on "My FTPD"
ServerAdmin Admin@this.domain.topdomain
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayFirstChdir .message
User nobody
Group nogroup
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 30
TransferRate STOR 40
TransferRate STOU 40
TransferRate APPE 40
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_useradd_upload_path /upload
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg

TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
#TLSRSACertificateFile /etc/gproftpd/gproftpd.pem

AllowUser guangtao
DenyALL

User guangtao
Group guangtao
AnonRequirePassword on
MaxClients 3 “The server is full, hosting %m users”
DisplayLogin welcome.msg
DisplayFirstChdir .msg

Allow from all
Deny from all

AllowOverwrite on

AllowAll

DenyAll
文章评论

共有 0 条评论