AllowOverwrite on AuthAliasOnly on # User Aliases UserAlias sambauserftp sambauser UserAlias dlaul wwwdownload ServerName "Linux FTP Server" ServerType standalone DeferWelcome on MultilineRFC2228 on DefaultServer on ShowSymlinks off TimeoutNoTransfer 300 TimeoutStalled 60 TimeoutIdle 300 DisplayFirstChdir .message ListOptions "-l" RequireValidShell off TimeoutLogin 20 RootLogin off ExtendedLog /var/log/ftp.log TransferLog /var/log/xferlog SystemLog /var/log/syslog.log # When on, the server will check if a user is on the ban list found in /etc/ftpusers UseFtpUsers on AllowStoreRestart on Port 21 MaxInstances 10 # Set the user and group that the server normally runs at. User nobody Group nogroup Umask 022 022 PersistentPasswd off MaxClients 2 MaxClientsPerHost 2 MaxClientsPerUser 1 MaxHostsPerUser 1 AccessGrantMsg "Welcome!" ServerIdent on "Hello!" DefaultRoot /media/samba # DO NOT EDIT! THIS CONTAINS USERS IN THEIR HOME DIRECTORY! DefaultRoot ~ MaxLoginAttempts 2 # THESE ARE VALID LOGINS USING ALIASES AllowUser sambauser AllowUser wwwdownload DenyALL # THESE ARE DIRECTORY PERMISSIONS #wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww Umask 022 022 AllowOverwrite off Deny ALL AllowUser wwwdownload AllowUser sambadownload # DO NOT EDIT! THIS CONTAINS TLS ENCRYPTION REQUIREMENTS! TLSEngine on TLSLog /var/ftpd/tls.log TLSProtocol TLSv1 TLSRequired on TLSVerifyClient off TLSRSACertificateFile /etc/ftpcert/server.crt TLSRSACertificateKeyFile /etc/ftpcert/server.key TLSCACertificateFile /etc/ftpcert/ca.crt