NFS Services Administrator's Guide HP-UX 11i version 3
For more information on NIS, see NIS Administrator’s Guide (5991-2187).
For information on the /etc/group file, see group(4).
Configuring RPC-based Services
This section describes the following tasks:
• “Enabling Other RPC Services”
• “Restricting Access to RPC-based Services”
Enabling Other RPC Services
1. In the /etc/inetd.conf file, use a text editor to uncomment the entries that begin with
“rpc” .
Following is the list of entries in an /etc/inetd.conf file:
#rpc xit tcp nowait root /usr/sbin/rpc.rexd 100017 1 rpc.rexd
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001
2-4 rpc.rstatd
#rpc xit datagram_v,circuit_v wait root /usr/lib/netsvc/rusers/rpc.rusersd 100002
1-3 rpc.rusersd
#rpc xit datagram_v wait root /usr/lib/netsvc/rwall/rpc.rwalld 100008
1 rpc.rwalld
#rpc dgram udp wait root /usr/sbin/rpc.quotad 100011 1 rpc.rquotad
#rpc dgram udp wait root /usr/lib/netsvc/spray/rpc.sprayd 100012
1 rpc.sprayd
#rpc xti ticotsord swait root /usr/lib/netsvc/gss/gssd 100234 1 gssd
2. Enter the following command to force inetd to read its configuration file:
/usr/sbin/inetd -c
CAUTION: Do not issue the/usr/sbin/inetd command if NFS is not yet running on your
system. The nfs.core startup script starts the rpcbind process, which must be running before
you configure inetd to manage RPC-based services.
Table 2-8 lists the RPC daemons and services that can be started by the inetd daemon. It briefly
describes each one and specifies the manpage you can refer to for more information.
Table 2-8 RPC Services managed by inetd
DescriptionRPC Service
The rpc.rexd program is the server for the on command, which starts the Remote Execution
Facility (REX). The on command sends a command to be executed on a remote system. The
rpc.rexd program on the remote system executes the command, simulating the environment
of the user who issued the on command. For more information, see rexd (1M) and on (1).
rexd
The rpc.rstatd program answers requests from the rup command, which collects and displays
status information about the systems on the local network. For more information, see rstatd (1M)
and rup (1).
rstatd
The rpc.rusersd program responds to requests from the rusers command, which collects
and displays information about all users who are logged in to the systems on the local network.
For more information, see rusersd (1M) and rusers (1).
rusersd
The rpc.rwalld program handles requests from the rwall program. The rwall program sends
a message to a specified system where the rpc.rwalld program is running, and the message is
written to all users logged in to the system. For more information, see rwalld (1M) and rwall (1M).
rwalld
The rpc.sprayd program is the server for the spray command, which sends a stream of packets
to a specified host and then reports how many were received and how fast. For more information,
see sprayd (1M) and spray (1M).
sprayd
Configuring RPC-based Services 47