domainname(1M) SYSTEM ADMINISTRATION COMMANDS domainname(1M)
NAME
domainname - get/set name of current secure RPC domain
SYNOPSIS
domainname [ newname ]
DESCRIPTION
The domainname command is used on secure RPC machines. With
no argument, the name of the machine's secure RPC domain is
written to standard output. root privileges are required to
use the domainname command with an argument. In this form,
the command sets the name of the secure RPC domain to
newname. newname may be up to 255 characters long. domain-
name is normally run by the network administrator on all
machines using secure RPC to set the name of the secure RPC
domain. To use secure RPC, machines must have a secure RPC
domain name.
NOTES
Secure RPC domain names are not related to ans should not be
confused with RFS domains. The RPC package expects the
newname argument to be a valid filename for the underlying
file system in use on the networked machines using secure
RPC. For example, machines based on the s5 file system
should not have domain names longer than 14 characters in
length or problems may occur when using secure RPC. The
secure RPC domain name set by domainname will not be remem-
bered across reboots. To give a machine a "permanent" name,
set the SRPCDOMAIN tunable in /etc/master.d/kernel to the
secure RPC domain name.
SEE ALSO
RPC Administration in the Programmer's Guide: Networking
Interfaces.
1