日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

centos proftp_在CentOS上禁用ProFTP

發布時間:2023/12/9 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 centos proftp_在CentOS上禁用ProFTP 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

centos proftp

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! 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.

我意識到這可能只與大約3位讀者有關,但是我發布了這篇文章,所以我不會忘記自己怎么做! 為了徹底禁止完全不安全的FTP協議,我決定禁用在運行CentOS操作系統的How-To Geek服務器上運行的FTP服務。

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.

無論出于什么原因,我都無法在plesk中找到合適的位置,而且無論如何我都鄙視plesk的所有內容……所以我采用了手動方法。

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 this change in your /etc/xinetd.conf file.

首先,在您的/etc/xinetd.d/目錄中查看是否有一個名為psa_ftp的文件。 如果沒有,您可能必須在/etc/xinetd.conf文件中進行此更改。

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}

服務ftp {禁用=是socket_type =流協議= tcp等待=否用戶=根實例=無限服務器= /usr/sbin/in.proftpd server_args = -c /etc/proftpd.conf}

Change the disable = no line to disable = yes as shown above.

如上所示,將disable = no行更改為disable = yes。

Run the following command to restart xinetd

運行以下命令以重新啟動xinetd

/etc/init.d/xinetd restart

/etc/init.d/xinetd重新啟動

Good to go!

好去!

翻譯自: https://www.howtogeek.com/howto/linux/disable-proftp-on-centos/

centos proftp

總結

以上是生活随笔為你收集整理的centos proftp_在CentOS上禁用ProFTP的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。