rumor

Member
Aug 26, 2005
14
0
151
Is it possible to turn off the FTP server completely? I only want people to use SFTP/SCP to transfer files.

I tried disabling FTP through Service Configuration -> Service Manager in WHM by unchecking the FTP box. But, after clicking save it stops the service, but then I get warning emails about ftpd not running; and after reboots, ftpd still starts up.

Right now, I'm working around by adding users to /etc/ftpusers to disable access, but it seems like just disabling the service might be a better way to go. Any suggestions?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,453
31
473
Go on, have a guess
Make sure that you untick both of the boxes for FTP in WHM > Service Manager. You don't way which FTP daemon you are running, but if it's pure-ftpd then you can prevent startup on boot with on Linux with:

chkconfig pure-ftpd off
 

rumor

Member
Aug 26, 2005
14
0
151
Thanks for the hint about chkconfig! Proftpd is no longer starting up on reboot.

Strange that WHM doesn't do that automatically.
 

TheDood

Member
Feb 17, 2004
20
0
151
Utah
It's bad that it dosn't on startup... You want it to startup on boot...

Thanks Chirpy for the solution, I've needed to use this to turn ON my FTP on boot. Hehehe.

Thanks again.