Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default Cannot disbale FTP in WHM

    We have disbaled FTP inside WHM but we can still FTP in. Server company had to edit other files to disable FTP. Why is this?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    We have disbaled FTP inside WHM but we can still FTP in. Server company had to edit other files to disable FTP. Why is this?
    How did you disable FTP in WHM? Was it via Service Manager or via FTP Server Selection or by some other method?

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Question

    Quote Originally Posted by mealto View Post
    We have disbaled FTP inside WHM but we can still FTP in. Server company had to edit other files to disable FTP. Why is this?
    You can turn off monitoring for FTP inside WHM ...

    You can restart the FTP server inside WHM ....

    You can change the FTP server software in WHM ....

    ... but there is no way that I know of to disable FTP from inside WHM
    so I think you are a little bit confused because WHM does not provide
    any option for disabling, turning off, or otherwise removing the FTP server.

    For something like that, you would have to do that from the SSH shell
    although that would be extremely unwise to do that.

    FTP is a main primary service and you don't know what scripts or processes
    being used on your server may need direct FTP access. While not necessarily
    "stupid" like disabling the SSH server would be, disabling FTP would generally
    not be advised unless you have some major reason in doing so. Plus, if you
    disable the FTP server, you'll make it a lot more difficult to manage the
    hosting accounts deployed on your server since the web based File Manager
    is reasonable to manage a few files but doesn't even come close to FTP when
    talking about handling large numbers or sizes of files.

    This leaves the obvious question ...

    Why do you want to disable the FTP server?
    Last edited by Spiral; 07-10-2009 at 02:06 PM.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Spiral View Post

    ... but there is no way that I know of to disable FTP from inside WHM ...
    The method I would use is to go to WHM -> Service Configuration -> FTP Server Selection, for FTP Server select "Disabled."

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Exclamation

    Quote Originally Posted by cPanelDavidG View Post
    The method I would use is to go to WHM -> Service Configuration -> FTP Server Selection, for FTP Server select "Disabled."
    Let me be more precise, disable and shut it down from WHM.

    (Anyway I can do that in a heartbeat from shell so it's a moot issue anyway)

    The bigger point is that I wouldn't want to in the first place!

    I don't recommend anyone disable the FTP server unless they have
    a really big reason in doing so because that is a core service and
    really limits you a lot if it is removed from the system.

    We have recently seen a rise in people wanting to turn off the FTP server
    but I think this is from a misconceived idea that there is a FTP vulnerability
    that doesn't actually exist prompted from the recent China syndicate iframe
    hacks where the hackers are actually keylogging and stealing login information
    from the hosting client's home computers and then using that information
    to login to the client's hosting and bank accounts. These people need to
    know that there is no vulnerability in the FTP server and removing FTP is
    not going to do them any good whatsoever.

  6. #6
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    Quote Originally Posted by cPanelDavidG View Post
    The method I would use is to go to WHM -> Service Configuration -> FTP Server Selection, for FTP Server select "Disabled."
    Thanks David. We have passed this on to the server management company. Previously, they had mentioned they need to edit conf.sim and chkconfig as well to fully disable FTP? Is that so?

    Add-on: Spiral, we are moving away from FTP and using SFTP only. Server is for internal use only so SFTP is the way for us to go.
    Last edited by mealto; 07-15-2009 at 01:42 AM.

  7. #7
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    Thanks David. We have passed this on to the server management company. Previously, they had mentioned they need to edit conf.sim and chkconfig as well to fully disable FTP? Is that so?

    Add-on: Spiral, we are moving away from FTP and using SFTP only. Server is for internal use only so SFTP is the way for us to go.
    System Integrity Monitor (SIM) is not something cPanel uses, as it uses chkservd instead. In fact, if you ran SIM and chkservd, the two services could clash when a service went offline.

    chkconfig is a system-level method for disabling or enabling services rather than using cPanel/WHM's mechanisms.

  8. #8
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    Right, it looks like there is a clash. Hence, all the emails coming in saying FTP could not be restarted. Hence, why the server management company had to tweak other files on top of WHM to fully disable FTP and notices. Hope this helps others.

Similar Threads & Tags
Similar threads

  1. Disbale mod security for 1 site
    By screege in forum cPanel Developers
    Replies: 6
    Last Post: 09-19-2009, 11:46 AM
  2. how to disbale courierlogger processes
    By its_joe in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-11-2009, 09:30 AM
  3. How to backup using ftp and whm?
    By dory36 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-13-2006, 02:14 PM
  4. I need To Use WHM From The FTP
    By cLub2Share in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-07-2004, 10:00 PM
  5. How do i disbale CPANEL for specific users?
    By johnnylu in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-09-2004, 12:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube