[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 5
setuname Command
Purpose
Sets the node name of the system.
Syntax
setuname [-t ] -n Node
Description
The setuname command is used to set the node name
of the system. The -n option must be specified. Only
users with root authority can set the node name. The change can be made temporary
by using the -t option. The node name will be modified
only on the current running kernel if a temporary change is requested. The
nodename set temporarily will not persist after a reboot. Without the -t option the node name is changed permanently in the ODM
database.
Flags
-n Node |
Specifies that the node name has to be changed. This
option is required. Node is the primary node name
for the host. This can be the UUCP communications network name for the system. |
-t |
Temporary change. No attempt will be made to make the
change permanent. The original name will be restored after reboot. |
Exit Status
- 0
- The command completed successfully.
- >0
- An error occurred.
Examples
- To temporarily change the node name to "orion", enter:
setuname -t -n orion
- To permanently change the node name to "orion", enter:
setuname -n orion
Files
/usr/bin/setuname |
Contains the setuname command. |
Related Information
The chdev command, hostname command, uname command.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]