Article 6EH0H Disable tenet (port 23) on CentOS 7

Disable tenet (port 23) on CentOS 7

by
cdunavent
from LinuxQuestions.org on (#6EH0H)
I am a new Linux admin setting up a brand new Linux virtual machine (VM). When I do a uname -r, I see it is running 3.10.0-1160.83.1.el7.x86_64, which I assume is CentOS.

About a week after the machine was turned up, I got an email from security stating they had performed a port scan on my machine and detected that telnet (port) 23 was turned on. They asked me to turn it off.

I immediately started Googling and found many references about editing /etc/xinetd.d/telnet. Most state that I open # vi /etc/xinetd.d/telnet and change diable=no to disable=yes.

Unfortunately, there is no such file /etc/xinetd.d/telnet on my machine to edit.

So, I am looking for an alternative way to permanently disable telnet port 23.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments