HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
i
inetd.conf(4) inetd.conf(4)
program number Defines a particular service grouping and is unique.
version number Version supported by the RPC service. This number can be a single value, or a
range, if the program handles multiple versions; for example, 1 or 1-3.Ranges
are separated by a hyphen (-). Version numbers allow RPC protocols to be
extended and modified, and make it possible for old and new protocols to share
the same server process.
Built-in inetd Services
The inetd daemon provides several "trivial" services internally by use of built-in routines (see inetd(1M)
for a list of these services). To configure an internal service, specify internal as the server program
name, and omit the server program arguments field.
EXAMPLES
Configure the shell service to use TCP protocol, and run the server remshd as user root.
shell stream tcp nowait root /usr/lbin/remshd remshd
Configure the FTP server to timeout an inactive session after 75 seconds.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -t75
Configure an RPC-based service. Note that the service name field contains rpc and two more elds are
used: the program number (100008)and version number (1).
rpc dgram udp wait root /usr/lib/netsvc/rwall/rpc.rwalld 100008 1
rpc.rwalld
Configure inetd to use the built-in daytime TCP service.
daytime stream tcp nowait root internal
AUTHOR
inetd.conf was developed by the University of California, Berkeley.
NFS was developed by Sun Microsystems, Inc.
SEE ALSO
inetd(1M), exec(2), fork(2), inetd.sec(4), protocols(4), services(4).
Section 4134 2 HP-UX Release 11i: December 2000
___
___