Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

domainname Display or Set Name of the Current Domain

Synopsis

/bin/domainname [name-of-domain]

Description

Without an argument, use the domainname command to display the name of the current domain, which typically encompasses a group of hosts or passwd entries under the same administration.

The domain name is usually set during boot time through the domainname command in the /etc/init.d/inetinit file. If the new domain name is not saved in the /etc/defaultdomain file, the system reverts to the old domain after rebooting.

The domain name can also be set by various components of the Solaris Operating Environment to resolve names for types such as passwd, hosts, and aliases. By default, various naming services such as NIS, NIS+, the Internet ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book