Pureftpd+MySQL

Discussion in 'Installation/Configuration' started by osanet, May 19, 2006.

  1. osanet

    osanet New Member

    Hi

    I have integrated pureftpd with mysql , now how I can disabled user account and send him a custom messagess why account is a disabled?

    Like this:


    Connecting to my_ftp_server
    FTP server ready.
    Logging in...
    Password requested by 10.10.10.10 for user "lcd".

    User lcd OK. Password required

    Password: ******

    account is disabled - please send e-mail to [email protected]

    and now disconnect user with my ftp server

    any ideas?

    osanet
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Do /etc/pure-ftpd.conf or the directory /etc/pure-ftpd exist?
     
  3. osanet

    osanet New Member

    File exist but oder path /usr/local/etc/pureftpd-mysql.conf
     
  4. falko

    falko Super Moderator ISPConfig Developer

  5. osanet

    osanet New Member

    Hi
    I was compiled pureftpd with FreeBSD 6.0 and debian 3.1
    Evrything is working very good, I read your tutorial about pure-ftpd

    No I think how I can send custom messages to my user why account is a disabled when they are logged in personal account

    Did you try set something like this?
     
  6. falko

    falko Super Moderator ISPConfig Developer

  7. osanet

    osanet New Member

    Hi

    No it's not that option,this messages user show when he give corrent password

    When he give bad password he didn't show messages from file welcome.msg

    osanet
     
  8. osanet

    osanet New Member

    Hi

    I used pureftpd with mysql and I limit user "foo" with two session
    per/IP and he have ULBandwidth and DLBandwidth 100KB/s

    When login user "foo" twice , he have in amount 200KB/s

    1.sesion = 100KB/s
    |---------- 200KB/s
    2.sesion = 100KB/s

    How I can put restrictions user "foo", that after logging twice he have
    no more with 100KB/s

    1.session =
    |----------- <= 100KB/s
    2.sesion =

    Any ideas?
     

Share This Page