> > Hello,
> > I would like to change to hostname of a Solaris 8 server and therefore I
> > have modified /etc/hosts and /etc/hostname.hme0 to match the new
> > hostname but still after a reboot I get the old hostname if I type
> > hostname.
> > Any ideas what I've fogottten ?
> > Regards
> Take a look at sys-unconfig(1M).
Yes, there are several files you will need to change, /etc/hosts
/etc/hostname.hme0 /etc/nodename and dont forget the /etc/net/ti*
files.. (we used to call them the ticklet files).. I believe they
are located under /etc/net but I could be wrong, anyway they are
directories and you will need to go into each one and change hosts
files in those directories as well..
or you could do a sys-unconfig, but I always found it easier to just
change the files, just make sure you get all of them! If you are
unsure you could do a find for the old system name ..
Sharona