how to change hostname

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Kevin Brown
Fecha:  
Asunto: how to change hostname
P.S. Oh, try and log out then log back in after changing it. <-- forgot this in
my other message.

Eric wrote:
>
> Hi
>
> I am having trouble setting my hostame.  I have redhat 7.1.  I manually
> edited /etc/hosts to:
> 127.0.0.1       localhost.localdomain localhost
> 192.168.0.3     Shitty  Shitty.localdomain

>
> I have also used "hostname Shitty"
>
> But my hostname still shows up at my command prompt as
> "localhost.localdomain.
>
> What am I doing wrong here. How to I properly set my hostname?
>
> Thx
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss