inetd.conf(SFF) 19 June 1992 inetd.conf(SFF) Name inetd.conf - configuration file for inetd (internet ``super-server'') Description inetd.conf is the configuration file for the inetd(ADMN) System V STREAMS TCP/IP internetworking ``super-server.'' The file consists of a series of single-line entries, each entry corre- sponding to a service to be invoked by inetd. These services are connection-based, datagram, or ``internal.'' Internal services are those supported by the inetd program: these ser- vices are echo, discard, chargen (character generator), daytime (human readable time), and time (machine readable time, in the form of the num- ber of seconds since midnight, January 1, 1900). All of these services are tcp based. (For details of these services, consult the appropriate RFC from the DDN Network Information Center.) Each service, including internal services, must have a valid entry in services(SFF). In the case of an internal service, its name must corre- spond to the official name of the service: that is, the first entry in /etc/services. Each entry has a series of space- or tab-separated fields. (No field, except for the last one, may be omitted.) The fields are as follows: service name Name of a valid service in /etc/services, as described above. socket type One of ``stream,'' ``dgram,'' or ``raw,'' depending on whether the socket type is stream, datagram, or raw (see socket(SSC)). protocol Name of a valid protocol (for example, ``tcp'') specified in protocols(SFF). wait/nowait Specifies whether the socket can be made available for new connections while there is still data waiting on the socket. The value is always nowait unless it is a datagram socket. If it is a datagram socket, the value is usually wait, although nowait is possible in some cases. (Note that tftpd is an exception in that it must have wait specified, and yet the socket can continue to process mes- sages on the port.) user Name of the user under which the server should run. This allows servers to be run with less permission than root. If the server needs to change user IDs to another user (for example, ftpd) then its entry should have the keyword NOLUID instead of a user name. server program Except in the case of internal services, full pathname of the server program to be invoked by inetd when a request is waiting on a socket. For an internal service, the value is internal. server program arguments Arguments to the server program, starting with argv[0], which is the name of the program. For an internal service, the value is internal. Comments are denoted by a ``#'' at the beginning of a line. The distribution inetd.conf file contains prototype entries; refer to these entries when editing the file. Example . . . ftp stream tcp nowait NOLUID /etc/ftpd ftpd telnet stream tcp nowait NOLUID /etc/telnetd telnetd login stream tcp nowait NOLUID /etc/rlogind rlogind exec stream tcp nowait NOLUID /etc/rexecd rexecd finger stream tcp nowait nouser /etc/fingerd fingerd echo stream tcp nowait root internal discard stream tcp nowait root internal chargen stream tcp nowait root internal daytime stream tcp nowait root internal time stream tcp nowait root internal echo dgram udp wait root internal discard dgram udp wait root internal chargen dgram udp wait root internal daytime dgram udp wait root internal time dgram udp wait root internal . . . See also fingerd(ADMN), ftpd(ADMN), inetd(ADMN), protocols(SFF), rexecd(ADMN), rlogind(ADMN), rshd(ADMN), services(SFF), telnetd(ADMN), tftpd(ADMN)