Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

block cpanel user form pure-ftpd

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

  1. vla

    vla Member

    Jun 19, 2004
    Likes Received:
    Trophy Points:
    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

    restarted pure-ftpd
    Stopping pure-authd:
    Starting 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
    Starting pure-authd:

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

    I will appreciate your help !

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice