Telnet is the basic protocol for remote logon. We want to learn the remote connection. However, it does have many security problems, which are also known to everyone. Therefore, we sometimes need to consider deleting this function. Now let's explain how to delete telnet. The system involved here is Linux.
Operating System:
[Root @ RHEL5 ~] # Cat/etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)
The telnet service includes two types: one is the server, the other is the client. As shown below, the telnet-server-0.17-38.el5 is the server, the telnet-0.17-38.el5 is the client:
[Root @ RHEL5 ~] # Rpm-qa | grep telnet
Telnet-0.17-38.el5
Telnet-server-0.17-38.el5
The biggest disadvantage of telnet is that it is not secure. the user name and password are transmitted in plain text. You need to delete telnet from the system as follows:
[Root @ RHEL5 ~] # Rpm-e telnet-0.17-38.el5 #-e parameter indicates deleting an rpm package
[Root @ RHEL5 ~] # Rpm e telnet-server-0.17-38.el5
Warning:/etc/xinetd. d/telnet saved as/etc/xinetd. d/telnet. rpmsave
Check:
[Root @ RHEL5 ~] # Rpm-qa | grep telnet
[Root @ RHEL5 ~] #
You will find that there is no output in the rpm-qa query of the telnet-related rpm package, that is, it has been deleted from the system. Then we have successfully deleted the telnet.