setuname(1M) DG/UX R4.11 setuname(1M)
NAME
setuname - changes machine information
SYNOPSIS
setuname [-s name] [-n node] [-t]
DESCRIPTION
setuname changes the parameter value for the system name and node
name. Each parameter can be changed using setuname and the
appropriate option. Only a user with appropriate privilege can use
setuname.
For systems supporting the DG/UX Capability Option, appropriate
privilege is defined as having one or more specific capabilities
enabled in the effective capability set of the user. See
capdefaults(5) for the default capabilities for this command.
On systems without the DG/UX Capability Option, appropriate privilege
means that your process has an effective UID of root. See the
appropriateprivilege(5) man page for more information.
The options and arguments for this command are:
-s Changes the system name. name specifies new system name and
can consist of alphanumeric characters and the special
characters dash, underbar, and dollar sign.
-n Changes the node name. node specifies the new network node
name and can consist of alphanumeric characters and the
special characters dash, underbar, and dollar sign.
-t Temporary change. No attempt will be made to create a
permanent change.
Either or both the -s and -n options must be given when invoking
setuname.
The system architecture may place requirements on the size of the
system and network node name. The command will issue a fatal warning
message and an error message if the name entered is incompatible with
the system requirements.
SEE ALSO
uname(1).
appropriateprivilege(5).
capdefaults(5).
NOTES
setuname attempts to change the parameter values in two places: the
running kernel and, as necessary per implementation, to cross system
reboots. A temporary change changes only the running kernel.
Licensed material--property of copyright holder(s)