Disable ProFTP on CentOS Disable ProFTP uz CentOS
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 myself! Es saprotu, ka šis, iespējams, attiecas tikai uz aptuveni 3 no lasītājiem, bet es esmu norīkošanu šo tā man nav aizmirsis, kā to izdarīt pats! In my efforts to ban the completely insecure FTP protocol from my life entirely, I've decided to disable the FTP service running on the How-To Geek server, which is running the CentOS operating system. Manā centienos aizliegt pilnīgi nedrošs FTP protokolu no manas dzīves pavisam, es esmu nolēmis atslēgt FTP dienests darbojas How-To Geek serveris, kas darbojas CentOS operētājsistēmu.
For whatever reason, I couldn't find a place in plesk to do this, and I just despise everything about plesk anyway… so I took the manual approach. Kaut kāda iemesla dēļ es nevarēju atrast vietu plesk to darīt, un es tikai nicināt viss plesk anyway ... lai es rokasgrāmata pieeju.
First, look in your /etc/xinetd.d/ directory and see if there's a file named psa_ftp in there. Pirmkārt, izskatās jūsu / etc / xinetd.d / direktoriju un redzēt, ja tur ir fails ar nosaukumu psa_ftp tur. If not, you might have to make this change in your /etc/xinetd.conf file. Ja ne, varat veikt šādas izmaiņas savā / etc / xinetd.conf failu.
Open up the file as root, and look for the following section: Atvērt failu kā root, un meklēt šādu iedaļu:
service ftp pakalpojumu ftp
{ (
disable = yes atslēgt = yes
socket_type = stream socket_type = plūsma
protocol = tcp PROTOCOL = TCP
wait = no pagaidiet = nav
user = root user = root
instances = UNLIMITED instances = NEIEROBEŽOTS
server = /usr/sbin/in.proftpd server = / usr / sbin / in.proftpd
server_args = -c /etc/proftpd.conf server_args =-c / etc / proftpd.conf
} )
Change the disable = no line to disable = yes as shown above. Maina atslēgt = nav līnija atslēgt = yes, kā parādīts iepriekš.
Run the following command to restart xinetd Palaist šādu komandu atsākt xinetd
/etc/init.d/xinetd restart / etc / init.d / xinetd restart
Good to go! Labi iet!

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:



Or just disable xinetd all together… Vai vienkārši atslēgt xinetd visu kopā ...
chkconfig –levels 2345 xinetd off chkconfig-līmeņu 2.345 xinetd off
That was my first thought… but qmail is running through xinetd. Tas bija mana pirmā doma ... bet qmail darbojas caur xinetd.
Thank you very much. Liels paldies. I guess I find back here every other year when I get to fix a CentOS installation – first thing usually is to disable proftpd. I guess man atpakaļ šeit katru otro gadu, kad man noteikt CentOS instalēšana - Pirmais parasti ir atspējot ProFTPD. So – I googled for “centos disable proftpd”, and here I am. Tātad - es googled ar "CentOS atslēgt ProFTPD", un šeit es esmu.
Thank you very much! Liels paldies! Please never take down this extremely helpful page. Lūdzu, nekad noņemt šo ļoti noderīga lapā.
Or even just 'service proftpd stop' Vai pat tikai "pakalpojumu ProFTPD stop"
>Or even just 'service proftpd stop' > Vai pat tikai "pakalpojumu ProFTPD stop"
What happens when you reboot, wiseguy? Kas notiek, ja jūs reboot, wiseguy?