Results 1 to 2 of 2

Thread: HOWTO disable ProFTP on cpanel boxes ...

  1. #1
    Member trakwebster's Avatar
    Join Date
    Jan 2003
    Posts
    145

    Default HOWTO disable ProFTP on cpanel boxes ...

    On our machines, we have no need to run ProFTP or any ftp program. But when I tried to get it turned off I had to struggle a bit, because cpanel kept turning it back on!

    After tinkering, I think I've learned the complete steps to make ProFTP cease to run. Here they are --

    1) To see whether ftp is running, you can use 'ps -aux | grep ftp'.

    To stop proftpd running *now*, run /etc/rc.d/init.d/proftpd stop.

    To verify it's no longer running, again use 'ps -aux | grep ftp'.

    2) There's a checkbox in Service Manager in WHM and it appears to make ProFTP stop running. But it does *not* actually work. This checkbox is effectively broken.

    Because every five minutes, cpanel checks to see that some ftp is running, and if not defaults to proftp and starts it up. End of story. Cannot turn off ProFTP from WHM.

    (It will *appear* to stop, but if you reboot, or if the next cpanel check comes along, proftp will be started up again.)

    3) Removing /etc/rc.d/init.d/proftpd startup script does stop it from running, but generates 288 daily complaining emails from cpanel.

    However, removing this file is the only way to stop proftp after reboots, so it must be removed. If you might *ever* use ftp again, then you'll want to keep this file somewhere.

    4) To stop cpanel's checking (and complaining), you must also remove /etc/chkservd.d/proftpd file. This stops cpanel checking for ftp running. (Likewise, if you might ever use ftp, then you'll want to keep this file somewhere.)

    That's it. ProFTP is now not running, will not start up on reboot, and will not be restarted every five minutes by cpanel.
    -- Arthur Cronos from Voltos
    =================================================
    The Bloggard, Un Hombre Muy Blogisto -- http://www.bloggard.com
    Your loch ness monster, your yeti, your bigfoot. Bah! I've seen worse.
    =================================================

  2. #2
    Member
    Join Date
    Jun 2003
    Posts
    18

    Default

    seems like a pain in the ass, why not just use a firewall to block the ports?

    cPanel.net Support Ticket Number:

Similar Threads

  1. HOWTO Disable MailScanner
    By hari_anj in forum cPanel Developers
    Replies: 1
    Last Post: 04-06-2006, 04:41 PM
  2. ProFTP -> pureFTP : Howto??
    By andrewchk in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 07-24-2005, 02:21 AM
  3. HOWTO: Disable PostGreSQL Link
    By dgbaker in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-10-2004, 04:29 PM
  4. How can I disable ProFTP?
    By trakwebster in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 06-26-2003, 06:21 PM
  5. howto disable mailman ?
    By asys1 in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-23-2002, 04:27 AM