setuname(1M) setuname(1M)
NAME
setuname - change system name or network node name
SYNOPSIS
setuname [-s name] [-n node] [-t]
DESCRIPTION
The setuname command changes the parameter value for the
system name and the network node name. One or both of the -s
and -n options must be specified.
The options and arguments for this command are:
-s Changes the system name. name specifies the 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.
The node name is the name by which this system is known
to other computers in a networked environment.
Be aware that if you change the network node name, other
software may break unexpectedly; so, it is good practice
not to change a node name once it is set. For example,
networking software and application packages may save
the node name of your system at the time the package is
installed. Specifically, setuname does not change the
node name in the /etc/inet/hosts file that is used by
the TCP/IP software. Therefore, each time you change
the node name, you need to locate all the files where it
has been saved and change the value. See your System
Administration guide for more information about setting
up your work environment.
-t Temporary change. No attempt will be made to create a
permanent change.
The system architecture may place requirements on the size of
the system name 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.
Copyright 1994 Novell, Inc. Page 1
setuname(1M) setuname(1M)
FILES
/etc/nodename file containing the network node
name
REFERENCES
sysinfo(2), uname(1), uname(2)
NOTICES
setuname attempts to change the parameter values in the
running kernel and in files used during a system reboot. A
temporary change changes only the running kernel.
Copyright 1994 Novell, Inc. Page 2