Operating System - Linux
1829423 Members
1872 Online
109991 Solutions
New Discussion

Re: Starting telnet daemon

 
Praveen Bezawada
Respected Contributor

Starting telnet daemon

Hi
How to start the telnet daemon on a linux machine.

Thanks in advance

...BPK...
7 REPLIES 7
Praveen Bezawada
Respected Contributor

Re: Starting telnet daemon

I am on redhat 7.2
Stuart Browne
Honored Contributor

Re: Starting telnet daemon

If you have the 'telnet-server' package installed (rpm -q telnet-server), then you can just issue the following two commands as root:

chkconfig telnet on
service xinetd restart

This does the following steps:
(chkconfig telnet on)
modfies /etc/xinetd.d/telnet, changes the 'disabled = yes' line to 'disabled = no'.
(service xinetd restart)
this basically issues an '/etc/rc.d/init.d/xinetd restart', which does something similar to "kill -USR1 `cat /var/run/xinetd.pid`".

If the package is not installed, then you'll need to grab it from your Installation media, or from your nearest RedHat mirror.

Hope this helps.
One long-haired git at your service...
I_M
Honored Contributor

Re: Starting telnet daemon

Hi

I think telnetd is kicked by xinetd.

So that you don't need to do "chkconfig telnet on". Actually, you don't have /etc/rc.d/init.d/telnet file....
So that #chkconfig telnet on will fail.

good luck
Stuart Browne
Honored Contributor

Re: Starting telnet daemon

masanari,

chkconfig on anything after RH7.0 does both services started from xinetd, as well as /etc/rc.d/init.d/, under it's command. RH7.1 and above have the telnet service defaulting to 'off', assuming the user will use the more secure 'ssh' abilities. It needs to be explicitly turned back on.

bkx
One long-haired git at your service...
Praveen Bezawada
Respected Contributor

Re: Starting telnet daemon

Hi
I don't have the telnet server package.
Can anyone suggest the location from where I can download telnet server package of redhat 7.2 on i686.

...BPK...
I_M
Honored Contributor

Re: Starting telnet daemon

Hello again,

You may download the "telnet" and "telnet-server" rpm from
ftp://ftp.redhat.com/pub/redhat/redhat-7.2-en/os/i386/RedHat/RPMS

They are binary for i386 system.
Of course you can use it on i686 cpu.

Good luck

Daimian Woznick
Trusted Contributor

Re: Starting telnet daemon

Just as a note, there is a web-based interface for the system administration tasks. You can find it at www.webmin.com. So when you are stuck trying to figure out how certain things run in Linux, you can turn to the GUI to help. It's free also.