[ale] host name will not stay changed

ChangingLINKS.com x3 at ChangingLINKS.com
Sun Dec 15 17:48:47 EST 2002


Wow. I edited the /etc/sysconfig/network file and now the hostname is set 
when the machine boots. Before, it would set the hostname to 
localhost.localdomain and then use the name from /etc/hosts. 

Now, it sets the name all pretty like on boot. Thank you.

On Sunday 15 December 2002 15:27, you wrote:
> On Sun, 15 Dec 2002, Greg wrote:
> > I cannot change the hostname of a PC.  I have read all of the relevant
> > man pages.  I am using RH 7.3 w/ all current updates.  When installed I
> > used "localhost.localdomain" and I have uses "uname file01" to change it
> > to file01 and "domain bruceg" to change it to "bruceg".  A "uname -a"
> > shows that my changes took.  When I reboot my changes are lost.  I know
> > this is silly, but I cannot get this simple change to take.  I am doing
> > all as root, of course.
> >
> > The first line in my /etc/hosts file is 127.0.0.1 localhost.localdomain
> > localhost and is followed by the machines name that I want it to be
> > 192.168.3.78 file01.bruceg  file01.
>
> <<snip>>
>
> Because of the way RH is setup, you will need to edit a file in
> /etc/sysconfig/ as root. If memory serves, the file network, but don't
> hold me to closely on that.
>
> Hope this helps.
>
>
>  --
> =============================================
> If you think Education is expensive
> Try Ignorance
>                    Author Unknown
> ============================================
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list