dname(1M) — ADMINISTRATOR COMMANDS
NAME
dname − print Remote File Sharing domain and network names
SYNOPSIS
dname [−D domain] [−N netspeclist] [−dna]
DESCRIPTION
dname prints or defines a host’s Remote File Sharing domain name or the network(s) used by Remote File Sharing as transport provider(s). When used with d, n, or a options, dname can be run by any user to print the domain name, transport provider name(s), or both. Only a user with root permission can use the −D domain option to set the domain name for the host or −N netspeclist to set the network specification used for Remote File Sharing. netspeclist is a comma-separated list of transport providers (tp1,tp2,. . .). The value of each transport provider is the network device name, relative to the /dev directory. For example, the STARLAN NETWORK uses starlan.
domain must consist of no more than 14 characters, consisting of any combination of letters (upper and lower case), digits, hyphens (−), and underscores (_).
When dname is used to change a domain name, the host’s password is removed. The administrator will be prompted for a new password the next time Remote File Sharing is started [rfstart(1M)].
If dname is used with no options, it will default to dname −d.
NOTES
You cannot use the −N or −D options while Remote File Sharing is running.
SEE ALSO
— Remote File Sharing Utilities