Re: How does one permanently change hostname ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 21 Nov 2004, Alexander Dalloz wrote:

> Am So, den 21.11.2004 schrieb Satish Balay um 17:18:
> 
> > > How and where is hostname set and how does one alter it ?
> > 
> > - add the name to /etc/sysconfig/network
> > HOSTNAME=foobar
> > 
> > - add the ip-addresss map to /etc/hosts
> > 127.0.0.1       foobar
> 
> Attention! This advice can be understood misleading and wrongly
> following can cause severe network problems. As the comment in the
> /etc/hosts file itself very clearly says:
> 
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1               localhost.localdomain localhost

I guess i should have been more clear - I meant 'add the extra
line'. The following is valid:

127.0.0.1       localhost.localdomain   localhost
127.0.0.1       foobar

Satish


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux