Setting the Secure RPC domain name
All machines supporting Secure RPC must have what is known as a secure
RPC domain name.
By default, a machine's Secure RPC domain name is null and,
because it is null, Secure RPC will not work on the machine.
A domain name can be set using the
domainname(1Mnis)
command.
If NIS is used,
it remembers the domain name across reboots.
If NIS is not used,
administrators need to either:
-
Edit the file /etc/conf/pack.d/name/space.c,
and set the SRPC_DOMAIN
tunable to the desired Secure RPC domain name.
-
Call domainname in the RPC
start-up script /etc/rc2.d/S75rpc.
For example,
to change a machine's domain name from null to finance
using the first method:
-
Find the following line
in /etc/conf/pack.d/name/space.c:
#define SRPC_DOMAIN=""
Change this to:
#define SRPC_DOMAIN="finance"
-
Rebuild the kernel and reboot your system:
/etc/conf/bin/idbuild -B
cd /
shutdown -y -g0 -i6
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004