Exit Print View
See Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2
# hostname name
The hostname and domainname commands
enable you to permanently set the host name and domain name. When you use
these commands, the corresponding SMF properties and associated SMF service,
are also automatically updated.
For more information, see the hostname(1), domainname(1M), and nodename(4) man pages.