温馨提示×

ubuntu如何关闭telnet服务

小新
859
2021-03-18 13:38:28
栏目: 智能运维

ubuntu关闭telnet服务的方法:1.打开终端命令行;2.修改/etc/xinetd.d/telnet文件配置;3.通过命令直接关闭telnet服务。

ubuntu如何关闭telnet服务

ubuntu关闭telnet服务的方法:

1.打开终端命令行。

2.输入以下命令打开/etc/xinetd.d/telnet配置文件。


vi /etc/xinetd.d/telnet


把文件内容中的“disable=no”改成“disable=yes;”即可。

3.也可以通过以下命令直接关闭telnet服务。


chkconfig telnet off;



0