[clug-talk] hostname

timmy tim at timmy.ws
Mon May 8 09:33:09 PDT 2006


Try manually editing the /etc/hostname file. That file is read upon 
bootup to set the hostname. I had the same issue with Debian; the 
'hostname' command only applied to that sessin, but upon reboot, the 
/etc/hostname file was read and set back to the old hostname.


HTH

Mitchell Brown wrote:

> Hi, sorry for frequent posting but this is something that has vexed me 
> forever!
>
> localhost being the hostname sucks. Now, I can goto a terminal and do 
> "hostname mynewhostname" as root and it changes it. For that session. 
> As soon as I reboot its back to localhost!!!! Why? How can I change 
> it? I know in U/Kubuntu you set it during the install, and it actually 
> sticks but thats the only distro so far that I've seen!!!
>
> -- 
> pub 1024D/9091C422 02/05/2006 Mitchell Brown <mbgb14 at gmail.com 
> <mailto:mbgb14 at gmail.com>>
>     Primary key fingerprint:  812B 94BC EA0D 345A CC1C 2ED9 F7F6 5CCF 
> 9091 C422
>
>------------------------------------------------------------------------
>
>_______________________________________________
>clug-talk mailing list
>clug-talk at clug.ca
>http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>**Please remove these lines when replying
>



More information about the clug-talk mailing list