たぶん、Debian GNU/Linux Sarge 上で使ってた ProFTPd の設定ファイル。
もう使ってないので、ここに捨て。


#/*****************************************************************************
# proftpd.conf
# @(#) $Id$
# @author NI-Lab.
# @since 2002.05.06
#
# This is a ProFTPD configuration file. 
#*****************************************************************************/
 
ServerName			"hoge"
ServerType			inetd
DefaultServer			on
 
#
TimeoutIdle 1800
 
# Define this if you want to prevent your server from displaying what FTP
# server and version you are using.
# ServerIdent                   off
 
# Port 21 is the standard FTP port.
Port				21
 
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask				022
 
# Setting this to 'on' makes PAM the final authority on what gets
# authenticated.  Turning this off will tell PAM to allow other
# authentication modules compiled into ProFTPD a chance at the user.
AuthPAMAuthoritative            On
 
# This is the PAM configuration file that will be referenced when
# authenticating.  It can be set globally and/or per VirtualHost.
# The default is 'ftp'. Note: all PAM configuration files must be in
# /etc/pam.d
AuthPAMConfig                       ftp
 
# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
#MaxInstances			30
MaxInstances			60
 
# Set the user and group that the server normally runs at.
User				nobody
Group				nogroup
 
# Don't let people pass % characters to the server.
DenyFilter                      %
 
# Default root directory should be user's home directory for security.
#DefaultRoot			~
DefaultRoot			/
 
# reverse DNS lookup
UseReverseDNS off
 
# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite		on
</Directory>
 
# A basic anonymous configuration, with one incoming directory.
#<Anonymous ~ftp>
#  User				ftp
#  Group				ftp
#
#  # We want clients to be able to login with "anonymous" as well as "ftp"
#  UserAlias			anonymous ftp
#
#  # On RedHat systems, the ftp user has no shell.
#  RequireValidShell             off
#
#  # Limit the maximum number of anonymous logins
#  MaxClients			10
#
#  # We want 'welcome.msg' displayed at login, and '.message' displayed
#  # in each newly chdired directory.
#  DisplayLogin			welcome.msg
#  DisplayFirstChdir		.message
#
#  # Limit WRITE everywhere in the anonymous chroot except incoming
#  <Directory *>
#
#  <Limit LOGIN>
#    DenyAll
#  </Limit>
#
#  <Limit WRITE>
#    DenyAll
#  </Limit>
#
#  </Directory>
#
#  <Directory incoming>
#
#  <Limit WRITE>
#  AllowAll
#  </Limit>
#  <Limit READ>
#  DenyAll
#  </Limit>
#
#  </Directory>
#
#</Anonymous>

tags: zlashdot Linux Debian Linux ProFTPD

Posted by NI-Lab. (@nilab)