ONC+ RPC Developer's Guide

Exit Print View

Updated: July 2014
 
 

Using inetd

Entries in /etc/inet/inetd.conf have different formats for socket-based, TLI-based, and RPC services. The format of inetd.conf entries for RPC services follows.

Table 5-3  RPC inetd Services
Service
Description
rpc_prog/vers
The name of an RPC program followed by a / and the version number or a range of version numbers.
endpoint_type
One of dgram (for connectionless sockets), stream (for connection mode sockets), or tli (for TLI endpoints).
proto
May be * (for all supported transports), a net type, a net ID, or a comma separated list of net type and net ID.
flags
Either wait or nowait.
user
Must exist in the effective passwd database.
pathname
Full path name of the server daemon.
args
Arguments to be passed to the daemon on invocation.

For example:

rquotad/1 tli rpc/udp wait root /usr/lib/nfs/rquotad rquotad

For more information, see the inetd.conf(4) man page.