-----Original Message-----
From: redhat-list-admin redhat com
[mailto:redhat-list-admin redhat com]On Behalf Of Anand Buddhdev
Sent: Sunday, 12 January 2003 9:25 AM
To: redhat-list redhat com
Subject: Re: Domain Name
Ted Gervais wrote:
I feel a little sheepish in asking this question on the list but what
the heck. Here it goes.
I have RH8 running very well. Everything seems to be fine. But I notice
that somehow I never set my hostname. Or at least, the hostname that
keeps appearing is 'localhost'. Of course that appears in my /etc/hosts
file.
I am sure everyone has a better host name than 'localhost' and was
wondering about making a change here. If I do make a change though,
will that screwup sendmail or the network etc..??
Also, how does one make a change to another hostname? And how is this
done permanently.
Edit /etc/sysconfig/network, and set your hostname there. It will be set
correctly at every bootup then. For completenesses sake, also edit
/etc/hosts, and change localhost.localdomain to your new hostname.