Editing
Solaris 10 System Administration Part I
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Changing System Host Name === * host name is contained in four files on system * all must be modified & system rebooted to successfully change system's host name * four files: ** /etc/nodename ** /etc/hostname.xxn ** /etc/inet/hosts ** /var/crash if crash dump is enabled on system use uname -S command to temporarily change host name ==== edit /etc/nodename file ==== Each Solaris OS has a canonical name, which is the official name used when referring to a system. the system name is the same as host name associated with IP address of the primary network interface, for example, hostname.bge0 change canonical name by editing the /etc/nodename file & reboot system if interface is managed by DHCP or remote procedure call (RPC) bootparams protocols, the /etc/nodename file is not used My example using DHCP /etc/nodename file doesn't exist: <pre># more /etc/nodename /etc/nodename: No such file or directory #</pre> ==== /etc/hostname.xxn file ==== ==== /etc/inet/hosts ==== * host names are text strings up to 24 characters * alphabetic characters, numbers, hyphen, period are allowed in host name * periods are allowed only to delimit components of domain style names * first character must be alphabetic character * last character cannot be hyphen or period * not case sensitive (unless NIS naming service is used, uppercase characters in names have been known to cause problems with NIS) * A hash (#) indicates the beginning of a command
Summary:
Please note that all contributions to GotOpinion may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GotOpinion:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information