NFS Services Administrator Guide for 11i v3 (5900-2572, September 2012)
bears (-,yogi, ) (-,smokey, ) (-,pooh, )
The following entries in the /etc/group file allow user pooh membership in the group
teddybears, but not in any other group listed in the NIS database or after the -@bears entry
in the /etc/group file:
teddybears::23:pooh,paddington
-@bears
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” (page 45)
• “Restricting Access to RPC-based Services” (page 46)
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 9 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 9 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
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).
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
Configuring RPC-based Services 45