# General Server Context.
ServerName						"Tuo_Server_FTP_Linux"
ServerType						standalone
DefaultServer						on
Port								21
tcpBackLog						10
MaxInstances						30
CommandBufferSize					50
UseReverseDNS						off
IdentLookups						off
User								nobody
Group								nobody
AuthPAMAuthoritative				on
MultilineRFC2228					on
AllowFilter						"^[a-zA-Z0-9 ,.]*$"

# Global Server Context.
<Global>
  DeleteAbortedStores				on
  MaxClients						10000
MaxLoginAttempts				3
RateReadBPS						56400
RateReadFreeBytes				1440000
  ServerIdent						on "FTP_Server_ready."
  Umask							022
</Global>

# We don't want normal users logging in at all.
<Limit LOGIN>
  DenyAll
</Limit>

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite					on
</Directory>

# A basic Anonymous configuration, no upload directories.
<Anonymous ~ftp>

# Allow Anonymous logins here since all logging are disabled above.
<Limit LOGIN>
  AllowAll
</Limit>

AnonRequirePassword				off
RequireValidShell					off
User								ftp
Group								ftp

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin						welcome.msg
DisplayFirstChdir					.message

# We want clients to be able to login with "anonymous" as well as "ftp".
UserAlias							anonymous ftp

# Limit the maximum number of anonymous logins.
MaxClients						10000

# Limit WRITE everywhere in the anonymous chroot jail.
<Limit WRITE>
  DenyAll
</Limit>
</Anonymous>
