Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Include /etc/proftpd/modules.conf
- UseIPv6 off
- IdentLookups off
- ServerName "Manufer.com.ar"
- ServerType standalone
- DeferWelcome off
- MultilineRFC2228 on
- DefaultServer on
- ShowSymlinks on
- TimeoutNoTransfer 600
- TimeoutStalled 600
- TimeoutIdle 1200
- DebugLevel 10
- #DisplayLogin welcome.msg
- DisplayChdir .message true
- ListOptions "-l"
- DenyFilter \*.*/
- Port 21
- DefaultRoot /var/www
- DefaultRoot ~
- # DynMasqRefresh 28800
- MaxInstances 30
- User manusoftar
- Group manusoftar
- AccessGrantMsg "Acceso consedido!"
- ServerIdent on "FTP -> Manufer.com.ar"
- Umask 002 002
- #Normally, we want files to be overwriteable.
- AllowOverwrite on
- TransferLog /var/log/proftpd/xferlog
- SystemLog /var/log/proftpd/proftpd.log
- AllowRetrieveRestart on
- AllowStoreRestart on
- <IfModule mod_quotatab.c>
- QuotaEngine off
- </IfModule>
- <IfModule mod_ratio.c>
- Ratios off
- </IfModule>
- <IfModule mod_cap.c>
- CapabilitiesEngine off
- </IfModule>
- DelayEngine on
- ControlsEngine off
- ControlsMaxClients 20
- ControlsLog /var/log/proftpd/controls.log
- ControlsInterval 5
- ControlsSocket /var/run/proftpd/proftpd.sock
- AdminControlsEngine off
- # The passwords in MySQL are encrypted using CRYPT
- SQLAuthTypes Backend MD5 SHA1 SHA256 SHA512 Crypt Plaintext
- SQLAuthenticate users* groups*
- # used to connect to the database
- # databasename@host database_user user_password
- SQLConnectInfo ftp@localhost manusoftar 77503462
- # Here we tell ProFTPd the names of the database columns in the "usertable"
- # we want it to interact with. Match the names with those in the db
- SQLUserInfo ftpuser userid passwd uid gid homedir shell
- # Here we tell ProFTPd the names of the database columns in the "grouptable"
- # we want it to interact with. Again the names match with those in the db
- SQLGroupInfo ftpgroup groupname gid members
- # set min UID and GID - otherwise these are 999 each
- SQLMinID 500
- # create a user's home directory on demand if it doesn't exist
- #SQLHomedirOnDemand on
- CreateHome on
- # Update count every time user logs in
- SQLLog PASS updatecount
- SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser
- # Update modified everytime user uploads or deletes a file
- SQLLog STOR,DELE modified
- SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser
- RootLogin on
- RequireValidShell off
- <Global>
- AllowOverwrite on
- <Limit PASV MKD STOR DELE XMKD RNRF RNTO RMD XRMD MFMT>
- AllowAll
- </Limit>
- </Global>
Advertisement
Add Comment
Please, Sign In to add comment