ServerName "XK FTP server"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
ServerType standalone
DefaultServer on
AccessGrantMsg "User %u logged in."
DeferWelcome off
DefaultRoot ~ !adm
RootLogin off
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
MaxClients 30
MaxClientsPerHost 1
IdentLookups off
UseReverseDNS off
DefaultAddress 10.3.30.43
Port 9999
Umask 022
ListOptions "-a"
MaxInstances 20
User nobody
Group nobody
UseSendfile no
#日志
ScoreboardFile /var/run/proftpd.score
SystemLog /home/ftpsource/logs/proftp.log
umask 000
DenyUser query
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
此配置文件为生产环境配置,其中对目录权限进行了设置。
阅读(865) | 评论(0) | 转发(0) |