hostname

Howard Coles Jr. dhcolesj at gmail.com
Sun May 27 03:17:16 UTC 2007


On Saturday 26 May 2007 04:55:00 pm Thilo Six wrote:
> Stew Schneider wrote the following on 25.05.2007 03:37
>
> > OK...this is probably just real dumb, but how do you change the host
> > name?
> >
> > sudo hostname george will change the host to george, but then you get an
> > error from gethostname(). Changing /etc/hostname and rebooting will,
> > iirc, do it, but that seems a kludge.
> >
> > stew
>
> in case of changing the hostname you nee to edit:
> /etc/hosts 	and
> /etc/hostname
>
> but i dunno if they take place immediately.
> probably reboot is needed.
>
Amazingly enough it does take place fairly immediately, however, some 
applications aren't as dynamic as others and some confusion can set in.  So, 
a reboot is generally suggested in this situation.


-- 
See Ya'
Howard Coles Jr.
John 3:16!




More information about the kubuntu-users mailing list