From: Charles Sharp (charles.sharp at domain sun.com)
Date: Tue 12 Jun 2001 - 16:54:34 IST
Sorry to be so naive, but what's broken
with Linux's implementation of hostname?
hostname <new hostname>
Works on other OS's I've used.
John Madden wrote:
> On my RH7.0 box the easiest way to change it is by running
> linuxconf. It's under Networking, Client Tasks, Basic Host
> Also, an addition to /etc/hosts something like this:
> 127.0.0.1 hostname localhost.localdomain localhost
> replacing hostname for whatever you wish.
> On Tue, 12 Jun 2001 James Cooper didst pronounce:
> :How do i change my hostname?
> :I have a non-networked redhat 6.1 pc. I tried changing the contents of the
> :/etc/HOSTNAME file but it keeps being changed back to
> :localhost.localdomain. I don't have the netcfg program installed as i dont
> :need it. What to do?
> Chat ya later,
> I am an atheist, thank God!
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:38 GMT