hostname

Thilo Six T.Six at gmx.de
Sat May 26 21:55:00 UTC 2007


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.



bye Thilo
-- 
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09





More information about the kubuntu-users mailing list