At 11:14 PM 1/15/2000 -0500, Robert Hoffman wrote:

>localhost is just the name for your loopback interface 127.0.0.1. Your

machine uses it to talk to itself. I don't know what good can come from

changing it. You can change your hostname by editing the etc/HOSTNAME file

and call your machine whatever you like... not need to kill the loopback.

Right.  You can leave localhost in /etc/hosts and add a new entry for your

machines new name, like this:

[lesneste@tsunami lesneste]$ cat /etc/hosts

127.0.0.1       localhost       localhost.localdomain

193.168.254.12  tsunami

As for your broader question of making sure you change the name every place

it needs to be changed, this is going back a ways, but my sysadmin log from

Fall '98 shows I had to add the line HOSTNAME=machinename to

/etc/sysconfig/network, like this:

[lesneste@tsunami lesneste]$ cat /etc/sysconfig/network

NETWORKING=yes

FORWARD_IPV4=no

HOSTNAME=tsunami

GATEWAYDEV=

GATEWAY=

That file is executed as a script (by /etc/rc.d/rc.sysinit) to define the

$HOSTNAME environment variable.

BTW, all of the above applies to RH5.1.  YMMV.  Hope that helps and good luck.

......................................................................

Les Neste

Voice 404-350-3345

Web http://www.mindspring.com/~lesneste


--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.