Re: Which file and directory contains the host name?

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

 



On Sat, 20 Nov 2010 05:51:16 -0600
Robert G. (Doc) Savage wrote:

> I think you are looking for /etc/sysconfig/network, specifically the
> HOSTNAME= line. This can be edited by root, or altered by root using the
> hostname command. The host and domain names may also have been added to
> your local /etc/hosts file.

One other place a hostname might appear:

/etc/sysconfig/network-scripts/igcfg-eth0

(or eth1, eth2, etc). If the interface is
configured for DHCP, there might be a
DHCP_HOSTNAME defined.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux