change of hostname

i am running solaris 9 , and would like to change the name of the server.is there a command to do this , if not which files should i edit to change the hostname.thanks in advance
[206 byte] By [clicht1] at [2007-11-25 23:19:06]
# 1

Become superuser.

Change the system's host name in the following files:

/etc/nodename

/etc/hostname.xxy(For Ex: /etc/hostname.hme0)

/etc/inet/hosts

/etc/net/ticlts/hosts

/etc/net/ticots/hosts

/etc/net/ticotsord/hosts

(Optional)

If using a name service, change the system's host name in the hostfile.

Reboot the system to activate the new host name.(init 6)

mdsadiq99 at 2007-7-5 18:07:19 > top of Java-index,General,Talk to the Sysop...
# 2
thank you
clicht1 at 2007-7-5 18:07:19 > top of Java-index,General,Talk to the Sysop...