The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

block cpanel user form pure-ftpd

Discussion in 'General Discussion' started by vla, Jan 25, 2007.

  1. vla

    vla Member

    Joined:
    Jun 19, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I did a search on previous post but did not succeed on anything that worked,
    I would like to block ftp access to a cpanel user using pure-ftpd

    it seems that user accounts are in /etc/proftpd/ deleting the file does the job until the password is reset through WHM or CPanel, as the file is re-created (and not created for suspended accounts)

    tried the PAMAuthentication suggested here http://forums.cpanel.net/showthread.php?t=39701#4

    restarted pure-ftpd
    <<<
    Stopping pure-authd:
    Starting pure-config.pl: Running: /usr/sbin/pure-ftpd -O clf:/var/log/xferlog -lextauth:/var/run/ftpd.sock --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:var/run/ftpd.sock -lpam -L2000:8 -m4 -s -U133:022 -u100 -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -k99 -Z -Y1
    [FAILED]
    Starting pure-authd:
    <<<

    However this blocked all users and not those listed in /etc/ftpusers

    I will appreciate your help !
     
Loading...

Share This Page