Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

domainname(1M)

get/set name of current secure RPC domain

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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. domainname 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 remembered across reboots. To give a machine a "permanent" name, set the SRPC_DOMAIN tunable in /etc/master.d/kernel to the secure RPC domain name.

SEE ALSO

RPC Administration in the  Programmer's  Guide:   Networking
Interfaces.