How does one permanently change hostname ?

Jeff Vian jvian10 at charter.net
Sun Nov 21 18:16:58 UTC 2004


On Sun, 2004-11-21 at 17:20 +0100, Jon Haugsand wrote:
> * Kim Lux
> > How and where is hostname set and how does one alter it ?
> 
> /etc/sysconfig/network
> 

I don't think his question is actually related to the problem.

His ssh session displays localhost and not the actual hostname.
AFAIK this is the default when using ssh with X-forwarding. It uses
"localhost:10.0" as the display, thus the prompt displays localhost.

I have not seen that when using ssh with a standard terminal.

His solution seems likely to be related to something in X or ssh and not
simply the system network/hostname settings. 





More information about the users mailing list