The inetd.conf(5) file is the configuration file for the inetd(1) daemon. The file contains the list of Internet-related services that inetd can invoke when it receives a request from an Internet client.
Each line of the inetd.conf file has configuration information for one service. The format is:
[camp-]service_name socket_type protocol {wait|no wait} user {daemon|internal} arguments
You can separate the fields with spaces or a TAB. For detailed information on these fields, see inetd.conf(5).
The camp- prefix is used before a service name to disable that service and to block access to the default port used by that service. This helps ensure that a Trojan horse program cannot take control of the port.
Pound signs (#) are used to mark comments. Below are the contents of the default Interix inetd.conf file. The first two services, telnet and shell, are commented out. By default, Interix uses Windows telnetd and rshd, instead of the built-in Interix telnetd and rshd. Note that all other service names are preceded by the camp- prefix. To run any of those services, you must remove the camp- prefix from the service name and then restart the computer.
#telnet stream tcp nowait NULL /usr/sbin/in.telnetd in.telnetd -i
#shell stream tcp nowait NULL /usr/sbin/in.rshd in.rshd -a
#
camp-exec stream tcp nowait NULL /usr/sbin/in.rexecd in.rexecd
camp-finger stream tcp nowait NULL /usr/sbin/in.fingerd in.fingerd -ls
camp-ftp stream tcp nowait NULL /usr/sbin/in.ftpd in.ftpd -l
camp-login stream tcp nowait NULL /usr/sbin/in.rlogind in.rlogind -a
camp-ntalk dgram udp wait NULL /usr/sbin/in.ntalkd in.ntalkd
camp-tftp dgram udp wait NULL /usr/sbin/in.tftpd in.tftpd -l /tftp_dir
camp-pop3 stream tcp nowait NULL /usr/sbin/popper popper
#
# internals below here
#
camp-tcpmux stream tcp nowait NULL internal
camp-echo stream tcp nowait NULL internal
camp-discard stream tcp nowait NULL internal
camp-chargen stream tcp nowait NULL internal
camp-daytime stream tcp nowait NULL internal
camp-time stream tcp nowait NULL internal
camp-echo dgram udp wait NULL internal
camp-discard dgram udp wait NULL internal
camp-chargen dgram udp wait NULL internal
camp-daytime dgram udp wait NULL internal
camp-time dgram udp wait NULL internal