Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: mfaisalkh on August 04, 2004, 07:53:57 AM
-
Dear Users,
I am using RedHat Linux 8.0.
I dont want my users access SERVER though telnet from other machines
(like telnet 192.168.0.1) only root can access SERVER from others machines.
simply i want telnet block for users, only open on root
-
I think u can either block telnet for every one or for no one.. hmm.. u can also do so that only specific machines can access telnet. better see iptables how to found at netfilter.org
-
You can disable telent server service using xinetd
open /etc/xinetd.d/telnet and change disable to yes.
You can also check this link
http://www.linuxhelp.in/2011/05/how-to-disable-telnet-server-in-linux.html (http://www.linuxhelp.in/2011/05/how-to-disable-telnet-server-in-linux.html)
-
Basically uninstall telnet if you don't want it to be used on a server. :)
-
Yeah ,I agree with dragoncity.
telnet should not be installed on any of the linux box. This is good practice in most of the big companies.
You can use netcat aka "nc" instead.
If you wana block telnet ( for client PC) then disable it on boot time.
-
You can try the below link to get your answer may be.
http://www.idevelopment.info/data/Unix/Linux/LINUX_TelnetFTPAsRoot.shtml (http://www.idevelopment.info/data/Unix/Linux/LINUX_TelnetFTPAsRoot.shtml)
Moderator edit: Made link clickable