Re: Where is the computer network name set and stored ?

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

 



On Wed, 2011-09-21 at 23:51 -0600, linux guy wrote:
> For anyone still following this thread, using the hostname command to
> change the hostname does not result in a permanent change.  As per the
> man file, it only changes it until the next reboot.
> 
> =========================================================================================
>   SET NAME
>        When  called  with  one  argument or with the --file option,
> the commands set the host name or the NIS/YP domain name.
>        hostname uses the sethostname(2) function, while all of the
> three domainname, ypdomainname and nisdomainname use  set‐
>        domainname(2).   Note, that this is effective only until the
> next reboot.  After reboot original names from /etc/hosts
>        are used again.
> =========================================================================================
> 
> It appears to me that the only way to truly change the hostname of a
> machine is to edit /etc/sysconfig/network. But I might be wrong.
----
you're correct

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux