michael@182: ## michael@182: ## proftpd.conf -- ProFTPD Configuration michael@182: ## michael@182: michael@182: ServerType standalone michael@182: DefaultServer off michael@182: SocketBindTight on michael@182: Port none michael@182: michael@182: MaxInstances 40 michael@182: User @l_nusr@ michael@182: Group @l_ngrp@ michael@182: Umask 022 022 michael@182: michael@182: UseReverseDNS off michael@182: MultilineRFC2228 on michael@182: ShowSymlinks on michael@182: AllowOverwrite on michael@182: MaxLoginAttempts 2 michael@182: RequireValidShell yes michael@182: ListOptions "-l" michael@182: michael@182: @l_pam@AuthPAM on michael@182: @l_pam@AuthPAMConfig proftpd michael@182: @l_pam@AuthPAMAuthoritative off michael@182: #PersistentPasswd off michael@182: michael@182: CommandBufferSize 1023 michael@182: TimeoutLogin 120 michael@182: TimeoutNoTransfer 600 michael@182: TimeoutStalled 600 michael@182: TimeoutIdle 1200 michael@182: michael@182: LogFormat default "%h %l %u %t \"%r\" %s %b" michael@182: LogFormat auth "%v [%P] %h %t \"%r\" %s" michael@182: LogFormat write "%h %l %u %t \"%r\" %s %b" michael@182: SystemLog @l_prefix@/var/proftpd/proftpd.system.log michael@182: ScoreboardFile @l_prefix@/var/proftpd/proftpd.scoreboard michael@182: michael@182: michael@182: ExtendedLog @l_prefix@/var/proftpd/proftpd.access.log WRITE,READ write michael@182: ExtendedLog @l_prefix@/var/proftpd/proftpd.auth.log AUTH auth michael@182: TransferLog @l_prefix@/var/proftpd/proftpd.xfer.log michael@182: IdentLookups off michael@182: DeferWelcome off michael@182: DisplayGoAway @l_prefix@/etc/proftpd/proftpd.msg.goaway michael@182: DisplayLogin @l_prefix@/etc/proftpd/proftpd.msg.login michael@182: DisplayChdir .message true michael@182: DisplayReadme README* michael@182: WTmpLog off michael@182: michael@182: michael@182: michael@182: AllowOverwrite on michael@182: michael@182: michael@182: # sample virtual Anonymous-FTP only server michael@182: michael@182: Port 21 michael@182: PassivePorts 49152 65535 michael@182: ServerIdent on "localhost FTP Server (ProFTPD) ready." michael@182: ServerAdmin root@localhost michael@182: MaxClients 20 michael@182: michael@182: # allow anonymous logins only michael@182: michael@182: DenyAll michael@182: michael@182: michael@182: # Anonymous-FTP michael@182: michael@182: User @l_nusr@ michael@182: Group @l_ngrp@ michael@182: UserAlias anonymous @l_nusr@ michael@182: UserAlias ftp @l_nusr@ michael@182: RootLogin off michael@182: UseFtpUsers off michael@182: MaxClients 10 "Sorry, max %m users allowed -- try again later, please." michael@182: RequireValidShell off michael@182: DisplayGoAway /.msg.goaway michael@182: DisplayLogin /.msg.login michael@182: michael@182: AllowAll michael@182: michael@182: michael@182: DenyAll michael@182: michael@182: michael@182: IgnoreHidden on michael@182: michael@182: # optionally allow uploads to a particular directory michael@182: # michael@182: # michael@182: # AllowAll michael@182: # michael@182: # michael@182: # DenyAll michael@182: # michael@182: # michael@182: # AllowAll michael@182: # michael@182: # michael@182: michael@182: michael@182: