svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
defaultdomain(5)
defaultdomain(5) File Formats defaultdomain(5)
NAME
defaultdomain - specify host's domain name
SYNOPSIS
svc:/network/nis/domain
/etc/defaultdomain
DESCRIPTION
The service svc:/network/nis/domain determines a host's domain name for
direct use by the NIS name service. For the purposes of backward com‐
patibility, the service also generates the defaultdomain file.
The property group/property config/domainname represents the NIS
domainname represented by /etc/defaultdomain.
The contents of defaultdomain consists of a single line containing a
host's domain name.
EXAMPLES
Example 1 Setting Up domainname and Enabling the nis/domain Service
The following example sets up domainname and enables the nis/domain
service:
% svccfg -s nis/domain setprop config/domainname = \
hostname: nisdomain.example.com
% svccfg -s nis/domain:default refresh
% svcadm enable nis/domain
The service is not enabled by default. The nis/domain service sets up
all the shared NIS configuration, of which domainname is the one manda‐
tory configuration parameter.
SEE ALSO
uname(1), resolv.conf(5), ldap(7), ldapclient(8), ypbind(8), ypinit(8)
NOTES
The defaultdomain file is created and modified by Oracle Solaris
installation and configuration scripts. Only users knowledgeable of
name service configuration should edit the file.
Oracle Solaris 11.4 11 May 2021 defaultdomain(5)