Disable telnet command from Linux client end !
Dear Friends ,
From Linux client end I can easily telnet to a remote Linux server easily , Like : [root@apps1 ~]# telnet 192.168.1.14 Trying 192.168.1.14... Connected to 192.168.1.14 (192.168.1.14). Escape character is '^]'. catalog.aibl.com (Linux release 2.6.18-8.el5 #1 SMP Tue Jun 5 23:25:19 EDT 2007) (1) login: But I want to disable the "telnet" command from the client end , so that I cannot telnet to a remote linux server from the Linux client end . Waiting for kind reply ... .. |
Just remove the telnet client SW
|
Thx for kind reply ..
Would u plz tell me how to remove the telnet client software ...., I remove the telnet package from the client end , but still it works .. See the below output plz : >[root@apps2 ~]# rpm -q telnet telnet-0.17-31.EL4.5 [root@apps2 ~]# rpm -e --nodeps telnet [root@apps2 ~]# rpm -q telnet package telnet is not installed [root@apps2 ~]# telnet 192.168.1.14 Trying 192.168.1.14... Connected to 192.168.1.14 (192.168.1.14). Escape character is '^]'. test.com (Linux release 2.6.18-8.el5 #1 SMP Tue Jun 5 23:25:19 EDT 2007) (1) login: |
Hello,
Well you could try a command like: Code:
rpm -q --whatprovides telnet Also be aware that some tools like netcat easily allows you to connect to a telnet server. Kind regards, Oliv' |
Why do you want to do that :confused:
|
Wouldn't it be the better approach to remove telnet from the server, since it is deprecated and insecure?
|
That would be my preference; I was giving the OP the benefit of the doubt there... should have asked anyway .
A related article of why (& how) not to use rsh/telnet etc http://www.informit.com/articles/art...p=169465&rll=1 |
Quote:
|
All times are GMT -5. The time now is 05:40 PM. |