1826150 Members
4500 Online
109690 Solutions
New Discussion

Re: telnetd

 
SOLVED
Go to solution
sycncs
Advisor

telnetd

Hi
When I do a "ps -ef |grep telnetd", nothing is running. When I do a "ps -ef |grep inetd", there is one process running.

Even if I restart my inetd, my telnetd is still not running. How do I rectify this problem?
7 REPLIES 7
eran maor
Honored Contributor

Re: telnetd

Hi

you will not have all the time telnetd process running .

the inetd process is oper the telnetd process each time when you have a request for a telnet .

dont warry about this issue .
love computers
Robert-Jan Goossens
Honored Contributor

Re: telnetd

Hi,

Check /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd

Robert-Jan.
Jose Mosquera
Honored Contributor

Re: telnetd

Hi,

Pls chk in /etc/inetd.conf the entry:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd

and in /etc/services:
telnet 23/tcp # Virtual Terminal Protocol

To reconfigure inetd daemon after any change execute "inetd -c"

Rgds.
T G Manikandan
Honored Contributor
Solution

Re: telnetd

If inted is running things should be ok.
Only when there is a telnet connection telnetd is spawned.
For each connection a telnetd process is started.

Jochen Heuer
Respected Contributor

Re: telnetd

If you want to make sure that there is no problem just check with netstat if someone (in this case inetd) is listening on the telnet port:

$ netstat -an | grep "\.23 "
tcp 0 0 *.23 *.* LISTEN

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Robert-Jan Goossens
Honored Contributor

Re: telnetd

T G Manikandan

(just learning)

So if you log in to the console telnetd would not have to run.

Thanks in advance.
T G Manikandan
Honored Contributor

Re: telnetd

Yes! Robert

The inetd receives request from the client through the specified port in the /etc/services file for telnet then the inetd executes the telnetd to process that request.