dname(1M)
NAME
dname − print Remote File Sharing domain and network names
SYNOPSIS
dname [ −adn ] [ −D domain ] [ −N netspeclist... ]
AVAILABILITY
SUNWcsu
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).
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. (See rfstart(1M)).
OPTIONS
−a Print both the domain name and the transport provider name(s).
−d Print the domain name.
−n Print the transport provider name(s).
−D domain Set the domain name for the host. Only a user with root permission can use the −D domain option.
−N netspeclist 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 TCP transport device, /dev/tcp uses tcp.
If dname is used with no options, it will default to dname −d.
SEE ALSO
NOTES
You cannot use the −N or −D options while Remote File Sharing is running.
SunOS 5.2 — Last change: 14 Sep 1992