Hi I have a problem with the setup proftpd.conf want that data entered on the form to open an account ftp.panels works ok but I have not set up FTP accounts. View Screen: http://img521.imageshack.us/img521/8646/screen1ruy.jpg
CONFIGURATION FILE ProFTPD
CONFIGURATION FILE ProFTPD
PHP:
<? php
#
ServerName "ProFTPD"
ServerType standalone
Port 21
PassivePorts 35000 35999
UseReverseDNS off
TimesGMT off
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
ScoreboardFile / var / run / proftpd / proftpd.pid
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"
# Do not modify this log format. Its used by DirectAdmin user to determine usage
LogFormat userlog "% u% b"
ExtendedLog / var/log/proftpd/195.162.24.64.bytes WRITE, READ userlog
AuthUserFile / etc / passwd
DefaultServer on
# AuthPAM off
<IfModule Mod_tls.c>
TLSEngine on
TLSLog / var / log / proftpd / proftpd.tls.log
TLSProtocol TLSv1
TLSVerifyClient off
TLSRequired off
# Certificates
TLSRSACertificateFile / etc / exim.cert
TLSRSACertificateKeyFile / etc / exim.key
TLSCACertificateFile # / etc / ftpd / root.cert.pem
TLSCipherSuite HIGH: MEDIUM: + TLSv1:! SSLv2: + SSLv3
</ IfModule>
<IfModule Mod_sql_mysql.c>
Plaintext SQLAuthTypes Crypt
SQLAuthenticate users * groups *
LoadModule mod_sql_mysql.c
SQLConnectInfo @ localhost _pp
SQLUserInfo ftpuser userid passwd uid gid homedir shell
SQLGroupInfo ftpgroup groupname gid members
SQLMinID 500
SQLHomedirOnDemand on
SQLLog PASS updatecount
SQLNamedQuery updatecount UPDATE "count = count +1, accessed = now () WHERE userid = '% u'" ftpuser
SQLLog STORE, DELE modified
SQLNamedQuery modified UPDATE "modified = now () WHERE userid = '% u'" ftpuser
QuotaEngine on
QuotaDirectoryTally on
QuotaDisplayUnits Mb
QuotaShowQuotas on
SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM ftpquotalimits WHERE name = '% (0)' AND quota_type = '% (1)'"
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM ftpquotatallies WHERE name = '% (0)' AND quota_type = '% (1)'"
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used +% (0), bytes_out_used = bytes_out_used +% (1), bytes_xfer_used = bytes_xfer_used +% (2), files_in_used = files_in_used +% (3), files_out_used =% (+ files_out_used 4), files_xfer_used = files_xfer_used +% (5) WHERE name = '% (6)' AND quota_type = '% (7)' "ftpquotatallies
SQLNamedQuery insert-quota-tally INSERT "% (0),% (1),% (2),% (3),% (4),% (5),% (6),% (7)" ftpquotatallies
QuotaLimitTable sql: / get-quota-limit
QuotaTallyTable sql: / get-quota-tally/update-quota-tally/insert-quota-tally
RootLogin off
RequireValidShell off
</ IfModule>
<Global>
DeferWelcome on
RequireValidShell no
~ DefaultRoot
DirFakeUser on FTP
DirFakeGroup on FTP
User ftp
Group ftp
# UserAlias anonymous ftp
AllowStoreRestart on
AllowRetrieveRestart on
ListOptions-a
Umask 022
DisplayLogin welcome.msg
DisplayChdir readme
AllowOverwrite yes
IdentLookups off
ExtendedLog / var / log / proftpd / access.log WRITE, READ write
ExtendedLog / var / log / proftpd / auth.log AUTH auth
#
# Paranoia logging level ....
#
# ExtendedLog / var / log / proftpd / default paranoid.log ALL
</ Global>
Include / etc / proftpd.vhosts.conf
> [/ php]
help please