hostname automatically changed to "localhost"

Robert G. (Doc) Savage dsavage at peaknet.net
Tue Nov 2 17:27:04 UTC 2010


On Wed, 2010-11-03 at 00:08 +0700, Hoang Le wrote:
> I'm using fedora 13, 64bit version
> 
> 
> My host name automatically changed from "elitebook" which was my
> desired name, to "localhost"
> 
> 
> So now it shows, for example, "root at localhost" instead of
> "root at elitebook". Please help me change that name

Hoang,

Edit the HOSTNAME= line in /etc/sysconfig/network or, as root, set the
name with the 'hostname' command.

--Doc Savage
  Fairview Heights, IL



More information about the users mailing list