Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandssetuname(1M)


NAME

 setuname - change machine information

SYNOPSIS

 setuname [-t] [-n node] [-s name]

DESCRIPTION

 

The setuname utility changes the parameter value for the system name and node name. Each parameter can be changed using setuname and the appropriate option.

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.

OPTIONS

 

The following options are supported:

-n node
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.
-s name
Changes the system name. name specifies new system 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.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu (32-bit)
 SUNWcsxu (64-bit)

SEE ALSO

 

attributes(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.


SunOS 5.9Go To TopLast Changed 2 Jul 1998

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.