Proftpd Config Files: Difference between revisions

From Clustergroup
Jump to navigationJump to search
m (category)
 
(No difference)

Latest revision as of 16:31, 1 April 2005

/etc/proftpd/proftpd.conf

This configuration file allows the use of LDAP to authenticate users and chroot them into their home directories and also allows anonymous users read only access to the /home/ftp directory.

ServerName "FTP-Server"
ServerType standalone
ServerAdmin admin@emailaddress.com
LDAPServer auth.ind-network.co.uk
LDAPDNInfo cn=Manager,dc=ind-network,dc=co.uk PlainTextPassword
LDAPDoAuth on "dc=ind-network,dc=co.uk"
DeferWelcome on
Port                  21
Umask                002
TimeoutLogin         120
TimeoutIdle          600
TimeoutNoTransfer    900
TimeoutStalled      3600
User    ftp
Group   ftp
DefaultRoot   ~
UseReverseDNS        off
TransferLog   /var/log/proftpd/xferlog.legacy
LogFormat       default "%h %l %u %t \"%r\" %s %b"
LogFormat auth    "%v [%P] %h %t \"%r\" %s"
LogFormat write   "%h %l %u %t \"%r\" %s %b"
<Global>
MaxClients 30
AllowOverwrite     yes
IdentLookups         off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog  /var/log/proftpd/auth.log AUTH auth
#ExtendedLog    /var/log/proftpd/paranoid.log ALL default
</Global>
<Directory ~>
AllowOverwrite          on
</Directory>
<Anonymous ~ftp>
User ftp
Group ftp
RequireValidShell off
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>