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

Title: Block Telnet 4 Users
Post 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
Title: Block Telnet 4 Users
Post by: Ricky on August 05, 2004, 06:59:54 AM
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
Title: Re: Block Telnet 4 Users
Post by: linux1986 on September 19, 2011, 11:05:28 AM
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)
Title: Re: Block Telnet 4 Users
Post by: dragoncity99 on January 04, 2012, 08:20:09 AM
Basically uninstall telnet if you don't want it to be used on a server. :)
Title: Re: Block Telnet 4 Users
Post by: gauravbajaj on January 04, 2012, 04:20:42 PM
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.
Title: Re: Block Telnet 4 Users
Post by: naresh on January 22, 2012, 06:39:24 AM
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