Re: Where is my Logwatch gone?

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

 



Tim:
>> How's your hostname set?

oldman:
> I think I have it fixed now, but just to be sure, in my /etc/hosts I
> have:
> 
> 192.168.1.101   old.HOME        old
> 
> which was duplicating the default 'localhost.localdomain localhost'
> that is there.

The hosts file doesn't set your machine's hostname, it's just a lookup
table of what names and IPs are associated with each other.  You set the
hostname elsewhere (see man hostname).

> I understand that the final localhost is an alias (that is the term
> used in Network Manager) for localhost.localdomain,

That's the idea - the hosts file has an IP associated with a FQDN, and
can have several aliases, as well (see man hosts).

> and every indication I have (mostly my bash prompt) says
> localhost=old.  I was attempting to say that my computer was named old
> and my network (domain?) was HOME, but apparently I am incorrect here.

Just type the "hostname" command by itself to see how it's set.

-- 
(This PC runs FC4, my others FC5 & FC6, in case that's important
 to the thread)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


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

  Powered by Linux