HP-UX 11i Version 2 May 2005 Release Notes
Commands and System Calls
The setuname Command
Chapter 9
167
The setuname Command
The setuname (1M) command is part of the core operating system. This command is used
to change machine information.
Summary of Change
As part of the Node and Host Name Expansion (NodeHostNameXpnd), the setuname
command, by using the appropriate options, can modify the value for the system name
and/or node name to more than the previously allowed 8 bytes. You can configure the
system to allow these limits to be expanded to 255 bytes. This capability is available
starting with the HP-UX 11i v2 May 2005 update.
The optional NodeHostNameXpnd product bundle (available on Software Pack) must be
installed and the appropriate configuration options enabled to allow up to 255 bytes. All
relevant documentation (manpages and product documents) should be understood before
enabling the configuration options.
Impact
The setuname (1M) command can set system name up to 255 bytes.
Compatibility
The default configuration options, allowing node names up to 8 bytes, ensures
compatibility with all HP-UX versions.
Performance
There is no change in performance.
Documentation
For further information, see the setuname (1M) manpage.
Also see the following related information in this document:
• “Software Pack (Optional HP-UX 11i v2 Core Enhancements)” on page 28
• “Node and Host Name Expansion” on page 125
• “The hostname Command” on page 166
• “The uname Command” on page 168
• “Common Desktop Environment (CDE)” on page 184
Obsolescence
Not applicable.