Putting the info in /etc/hosts probably won't do what you expect. Be sure that you don't add the hostnames for your system on the 127.0.0.1 line, because that will screw up a lot of programs, such as kadmin and krb5kdc if you run kerberos. Instead, edit the hostname in /etc/sysconfig/network and do a service network restart and your hostname will now be set globally. --James Cooley > ----- Original Message ----- > From: "Muhammad Rizwan" <rizwan@xxxxxxxxxxxx> > To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx> > 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@xxxxxxxxxx?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@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list