How to delete telnet

Source: Internet
Author: User

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.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.