ServerName "FTP - empresa"
ServerType standalone
DefaultServer on
ScoreboardFile /var/run/proftpd/scoreboard
DeferWelcome on
ServerAdmin
[email protected]
SyslogFacility AUTH
Serverident on "Bem Vindo ao FTP da empresa"
# Port 21 (ftp standard) is used in case of standalone more
Port 21
# Umask 022 is a good default value to prevent new directories and
# files from being writable by the group or by other users
Umask 022
# To prevent DoS attacks, the max number of instances is limited to 30.
# If one wants to allow more then 30 simultaneous connectionva, just
# increment this value. This directive only applies if running in standalone
# mode
MaxInstances 30
# This option, if enabled, will make the users unable to access anything
# outside their home directory tree. READ THE DOCS!
#DefaultRoot ~ !root
# User and Group the server will run as
#;User proftpd
#;Group proftpd
User nobody
Group users
#ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd
<Directory /*>
AllowOverwrite no
</Directory>
# Default configuration for anonymous ftp, without an incoming directory.
#
#<Anonymous /srv/ftp>
# User ftp
# Group ftp
# DirFakeUser on
# DirFakeGroup on
# RequireValidShell off
# UserAlias anonymous ftp
# MaxClients 10 "Sorry, max %m users -- try again later"
# MaxClientsPerHost 2 "Too many simultaneous connections"
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
# AccessGrantMsg "Anonymous access granted for %u."
#
# # Write disabled in anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#
#</Anonymous>
<Global>
RootLogin on
DefaultChdir /dados/pub
LoginPasswordPrompt on
AccessGrantMsg "Login efetuado com sucesso"
AuthAliasOnly off
RequireValidShell off
</Global>
<Anonymous /dados/pub>
User nobody
UserAlias anonymous nobody guest
Group nobody
RequireValidShell off
DisplayLogin .message
</Anonymous>
<Limit WRITE>
DenyAll
</Limit>