pureftpd display number limit

Discussion in 'HOWTO-Related Questions' started by ababneh, Mar 8, 2013.

  1. ababneh

    ababneh New Member

  2. falko

    falko Super Moderator Howtoforge Staff

  3. ababneh

    ababneh New Member

    Thanks, but problem is I can't find the configuration file that contains the "LimitRecursion"
    I tried many things:
    e.g.
    nano /etc/xinetd.d/pureftp don't exist
    nano /usr/local/sbin/pure-ftpd don't exist
    nano /etc/init.d/pure-ftpd-mysql don't contain the LimitRecursion

    I ran
    root@server:/# locate pureftpd.conf
    /etc/fail2ban/filter.d/pureftpd.conf

    then
    nano /etc/fail2ban/filter.d/pureftpd.conf

    and this is the content:

    [Definition]
    failregex = .*pure-ftpd: \(.*@<HOST>\) \[WARNING\] Authentication failed for user.*
    ignoreregex =
     
    Last edited: Mar 9, 2013
  4. ababneh

    ababneh New Member

    nano /etc/pure-ftpd.conf doesn't exist
     
    Last edited: Mar 10, 2013
  5. ababneh

    ababneh New Member

    Found it.
    You have to create a new file "LimitRecursion" in "/etc/pure-ftpd/conf/" with the value 20000 15 (2000 is my display limit and 15 is my max subdirectories depth)

    then restart pure-ftp

    /etc/init.d/pure-ftpd-mysql restart
     

Share This Page