November 25, 2024, 02:05:41 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Block Telnet 4 Users  (Read 11649 times)

Offline mfaisalkh

  • Tux Awared
  • **
  • Posts: 44
Block Telnet 4 Users
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Block Telnet 4 Users
« Reply #1 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

Offline linux1986

  • Linux Noob !
  • *
  • Posts: 6
    • Linux Help
Re: Block Telnet 4 Users
« Reply #2 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

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Re: Block Telnet 4 Users
« Reply #3 on: January 04, 2012, 08:20:09 AM »
Basically uninstall telnet if you don't want it to be used on a server. :)

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Re: Block Telnet 4 Users
« Reply #4 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.

Offline naresh

  • Linux Noob !
  • *
  • Posts: 5
Re: Block Telnet 4 Users
« Reply #5 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


Moderator edit:  Made link clickable
« Last Edit: January 22, 2012, 12:55:56 PM by dalek »