| 1 |
.\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4 |
| 2 |
.\" Copyright 1989 AT&T |
| 3 |
.Dd December 10, 1991 |
| 4 |
.Dt RPC 5 |
| 5 |
.Os |
| 6 |
.Sh NAME |
| 7 |
.Nm rpc |
| 8 |
.Nd rpc program number data base |
| 9 |
.Sh SYNOPSIS |
| 10 |
.Pa /etc/rpc |
| 11 |
.Sh DESCRIPTION |
| 12 |
The |
| 13 |
.Nm |
| 14 |
file contains user readable names that |
| 15 |
can be used in place of RPC program numbers. |
| 16 |
For each RPC program a single line should be present |
| 17 |
with the following information: |
| 18 |
.Pp |
| 19 |
.Bl -enum -compact |
| 20 |
.It |
| 21 |
name of the RPC program |
| 22 |
.It |
| 23 |
RPC program number |
| 24 |
.It |
| 25 |
aliases |
| 26 |
.El |
| 27 |
.Pp |
| 28 |
Items are separated by any number of blanks and/or |
| 29 |
tab characters. |
| 30 |
A hash |
| 31 |
.Pq Dq Li # |
| 32 |
indicates the beginning of a comment; characters up to the end of |
| 33 |
the line are not interpreted by routines which search the file. |
| 34 |
.Sh EXAMPLES |
| 35 |
Below is an example of an RPC database: |
| 36 |
.Bd -literal |
| 37 |
# |
| 38 |
# rpc |
| 39 |
# |
| 40 |
rpcbind 100000 portmap sunrpc portmapper |
| 41 |
rusersd 100002 rusers |
| 42 |
nfs 100003 nfsprog |
| 43 |
mountd 100005 mount showmount |
| 44 |
walld 100008 rwall shutdown |
| 45 |
sprayd 100012 spray |
| 46 |
llockmgr 100020 |
| 47 |
nlockmgr 100021 |
| 48 |
status 100024 |
| 49 |
bootparam 100026 |
| 50 |
keyserv 100029 keyserver |
| 51 |
.Ed |
| 52 |
.Sh FILES |
| 53 |
.Bl -tag -width /etc/nsswitch.conf -compact |
| 54 |
.It Pa /etc/nsswitch.conf |
| 55 |
.El |
| 56 |
.Sh SEE ALSO |
| 57 |
.Xr getrpcent 3 |