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.


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.