how to change host name

2007-12-25 10:52:00

Question:

> We use Solaris 5.5.1 and NIS. I want to change the host name and domain

> name. How to handle this?

Answer:

The command: sys-unconfig should do it for you. It will remove all

references to the hostname and name services and then shut down the

computer. When you reboot it goes through the system id configuration

(hostname, IP, name services, etc.) It is probably the safest way versus

editing files manually. You may want to save a copy of nsswitch.conf and

resolv.conf before you use sys-unconfig.


--
Tel: 013-284263 mailto:erakeia@lmera.ericsson.se
http://www.lmera.ericsson.se/~erakeia
Ericsson Radio Systems AB, Z/BI
Box 1248, S-581 12
Linköping, Sweden

Comments

Got something to say?

You must be logged in to post a comment.