Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypinit(1M)

getdomainname(2)

setdomainname(2)

domainname(1)

NAME

domainname − set or display name of Network Information Service domain

SYNOPSIS

domainname [name_of_domain]

DESCRIPTION

Network Information Service (NIS) uses domain names to refer collectively to a group of hosts.  Without an argument, domainname displays the name of the NIS domain.  Only super-user can set the domain name by providing name_of_domain. The domain name is usually set in the startup script /etc/netnfsrc. 

DEPENDENCIES

NIS servers use the NIS domain name as the name of a subdirectory of /usr/etc/yp.  Since the NIS domain name can be as long as 64 characters, name_of_domain may exceed the maximum filename length allowed on a given file system.  If that length is exceeded, the subdirectory name becomes a truncated version of the NIS domain name. 

For a machine that has a short-filename file system to act correctly as a NIS server, be sure the first 14 characters of all NIS domains on the network are unique. 

AUTHOR

domainname was developed by Sun Microsystems, Inc. 

SEE ALSO

ypinit(1M), getdomainname(2), setdomainname(2). 

INTERNATIONAL SUPPORT

8-bit data, messages. 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026