Sponsored Content
Full Discussion: Domainnaming
Top Forums UNIX for Dummies Questions & Answers Domainnaming Post 8845 by Perderabo on Thursday 18th of October 2001 12:48:01 PM
Old 10-18-2001
You must be rebooting. At start-up time, if the file /etc/defaultdomain exists, the contents will be fed to the domainname command. So create that file and put the domainname in it.
 
domainname(1)						      General Commands Manual						     domainname(1)

NAME
domainname - set or display name of Network Information Service domain SYNOPSIS
[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 superuser can set the domain name by providing name_of_domain. The domain name is usually set in the configuration file by setting the variable. The name_of_domain is normally a valid Internet domain name. DEPENDENCIES
NIS servers use the NIS domain name as the name of a subdirectory of Therefore, name_of_domain cannot be a or and it must not contain Since the NIS domain name can be as long as 64 characters, name_of_domain may exceed the maximum file name length allowed on a given file system. If that length is exceeded, the subdirectory name becomes a truncated version of the NIS domain name. The first 14 characters of all NIS domains on the network must be unique; truncated names should be checked to verify that they meet this requirement. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
ypinit(1M), getdomainname(2), setdomainname(2). domainname(1)
All times are GMT -4. The time now is 01:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy