Article 5GF7D inetd.conf missing to enable telnet server

inetd.conf missing to enable telnet server

by
paddyvgc
from LinuxQuestions.org on (#5GF7D)
Hi ,

I need to enable telnet server in my linux machine. I was able to achieve the same with the below steps.

sudo apt-get install -y xinetd telnetd tcpd

Now to enable the telnet server , I need to add the below step to /etc/inetd.conf

telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd

Now after adding the above conf and restarting /etc/xinetd , telnet server got enabled.

The issue is, file /etc/inetd.conf doesn't exist. I need to create a file named inetd.conf inside /etc to add the telnet conf.
To get the file automatically created inside /etc , I tried to install inetd, inetutils-inetd etc. No one of them succeeded and throwed error 'no installation candidate' etc.

I know installing xinetd , doesn't create the file inted.conf. I want the inetd.conf automatically created. What package needs to be installed for that?
Is there any other configuration which needs to be added to xinetd.conf to enable telnet server instead of this inetd.conf.
Or creating inetd.conf after installing xinetd is a normal procedure?
Thanks for any help.latest?d=yIl2AUoC8zA latest?i=LyWKdKLTWeo:Gy_5Y933Ums:F7zBnMy latest?i=LyWKdKLTWeo:Gy_5Y933Ums:V_sGLiP latest?d=qj6IDK7rITs latest?i=LyWKdKLTWeo:Gy_5Y933Ums:gIN9vFwLyWKdKLTWeo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments