[NTLUG:Discuss] Re: Renaming a Linux host
Leroy Tennison
leroy_tennison at prodigy.net
Tue Jul 26 03:08:12 CDT 2005
Burton Strauss wrote:
>That's what he's saying - the hostname command just changes the in-memory
>value (in fact, hostname is usually what the various boot scripts execute to
>set it based on your settings in /etc/sysconfig/network).
>
>Plus hostname wouldn't change a registered dhcp value (if there is one) nor
>other external names. And it doesn't fix /etc/hosts for local name
>resolution.
>
>-----Burton
>
>-----Original Message-----
>From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org] On Behalf
>Of Leroy Tennison
>Sent: Sunday, July 24, 2005 10:48 PM
>To: NTLUG Discussion List
>Subject: Re: [NTLUG:Discuss] Re: Renaming a Linux host
>
>Robert Citek wrote:
>
>
>
>>On Jul 23, 2005, at 9:04 PM, Leroy Tennison wrote:
>>
>>
>>
>>>Thanks for the input. While Googling I came across what should have
>>>been obvious 'man hostname' says that the program will set the
>>>hostname. Now, is that too simplistic?
>>>
>>>
>>Yes, for the hostname will only be changed for the current kernel
>>session. What distro are you running?
>>
>>Regards,
>>- Robert
>>http://www.cwelug.org/downloads
>>Help others get OpenSource software. Distribute FLOSS for Windows,
>>Linux, *BSD, and MacOS X with BitTorrent
>>
>>_______________________________________________
>>https://ntlug.org/mailman/listinfo/discuss
>>
>>
>>
>Wait a minute, you're telling me this won't presist through reboot? I'm
>mainly running Red Hat 9 although I have SuSE 8.2, 9.2, Mandrake 10 (or 11,
>don't remember) and Fedora Core 3 installed.
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>
>
>
OK, if it only changes the in-memory value, why does the program exist?
Surely there are other ways of setting the in-memory value, what
pragmatic other value does it have?
More information about the Discuss
mailing list