Many Linux's use xinetd and so the file is /etc/xinetd.conf. However, it's normally better to put services into files in /etc/xinetd.d
e.g. the file /etc/xinetd.d/time may contain
# This is the tcp version.
service time
{
disable = yes
type = INTERNAL
id = time-stream
socket_type = stream
protocol = tcp
user = root
wait = no
}
# This is the udp version.
service time
{
disable = yes
type = INTERNAL
id = time-dgram
socket_type = dgram
protocol = udp
user = root
wait = yes
}
On my machine I have an nntp entry for leafnode:
% cat /etc/xinetd.d/nntp
service nntp
{
disable = no
socket_type = stream
wait = no
user = news
flags = IPv6
server = /usr/local/leafnode/sbin/leafnode
}
If xinetd isn't installed then you can just install it; eg sudo apt-get install xinetd