3 Jan 2010

Disable ProFTP on CentOS running Plesk

Author: admin | Filed under: General Info

Let me start off by stating unequivocally that I do not like Plesk.

    I do not like it sam I am,
    I want to break it with a wham,
    I would not, could not, on a box.
    I could not, would not, with firefox.
    Would you like it here or there?
    I would not like it here or there.
    I do not like it anywhere.

I realize this is probably only relevant to about 3 of the readers, but I’m posting this so I don’t forget how to do it! In my efforts to ban the completely insecure FTP protocol from a clients server entirely, I’ve decided to disable the FTP service running on the server, which is running CentOS.

There is no place in plesk to do this, and because I despise everything about plesk anyway… I took the manual approach.

First, look in your /etc/xinetd.d/ directory and see if there’s a file named psa_ftp in there. If not, you might have to make/add this change to your /etc/xinetd.conf file.

Open up the file as root, and look for the following section:

service ftp
{
        disable         = yes
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        instances       = UNLIMITED
        server          = /usr/sbin/in.proftpd
        server_args     = -c /etc/proftpd.conf
}

Change the

 disable = no

line to

disable = yes

as shown above.

Run the following command to restart xinetd

/etc/init.d/xinetd restart

3 Responses to “Disable ProFTP on CentOS running Plesk”

  1. Shantay Ostorga Says:

    Some really superb content on this internet site , thankyou for contribution.

  2. Darius Uhri Says:

    I really like looking through and I conceive this website got some really useful stuff on it!

  3. Angry birds Says:

    I believe other website owners should take this website as an model, very clean and great user pleasant design .

Leave a Reply