How do I change the hostname in solaris?
-
There are six files that need amending, change the name of the host in these files.
/etc/nodename
/etc/hostname.xxn i.e. /etc/hostname.bge0
/etc/inet/hosts
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
In Solaris 10, only the following files need changing:
/etc/inet/ipnodes
/etc/nodename
/etc/hostname.xxn
/etc/inet/hosts
© Lightnetics 2024