how to set hostname

patrick lagace patrick.lagace at lechateau.ca
Thu Mar 24 13:53:36 UTC 2005


Actually you have to change this file 

/etc/sysconfig/network

you can also use: 

redhat-config-network

-Patrick



-----Original Message-----
From: Rushan Sobar [mailto:Rushan at mec.com.jo] 
Sent: March 24, 2005 4:05 AM
To: General Red Hat Linux discussion list
Subject: Re: how to set hostname

----- Original Message ----- 
From: "Muhammad Rizwan" <rizwan at nixpanel.com>
To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
Sent: Thursday, March 24, 2005 10:38 AM
Subject: how to set hostname


> Hello
> 
> How to set hostname of Red Hat box. I used "hostname NAME" but after
> rebooting machine, i see the old hostname instead of new one.
> 
> Thanks.
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

ssh or telnet to your box
edit the follow file

/etc/hosts

Regards
Rushan

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



CONFIDENTIALITY NOTICE
This message contains confidential information intended only for the use of
the individual or entity named as recipient. Any dissemination, distribution
or copying of this communication by anyone other than the intended recipient
is strictly prohibited. If you have received this message in error, please
immediately notify us and delete your copy. Thank you.

AVIS DE CONFIDENTIALITÉ
Les informations contenues aux présentes sont de nature privilégiée et
confidentielle. Elles ne peuvent être utilisées que par la personne ou
l'entité dont le nom paraît comme destinataire. Si le lecteur du présent
message n'est pas le destinataire prévu, il est par les présentes prié de
noter qu'il est strictement interdit de divulguer, de distribuer ou de
copier ce message. Si ce message vous a été transmis par mégarde, veuillez
nous en aviser immédiatement et supprimer votre copie. Merci.





More information about the redhat-list mailing list