that's likely all you need to change. /etc/HOSTNAME is actually generated on boot (by rc.sysinit?) from /etc/sysconfig/network and exists just for compatability with applications that may use it (redhat itself doesn't, to the best of my knowledge).
as root you can use the hostname command with the new hostname as an argument to set a new hostname while the system is running if you don't want to reboot (altho applications already running may still use the old one, so a reboot may be wise if you want to be sure everything is in sync). -tcl. On Wed, 28 Nov 2001, gary wrote: > dear all, > > as when we issue hostname command we'll get the system hostname, but once I > changed it in the following files > > /etc/hosts > /etc/HOSTNAME > /etc/sysconfig/network > > anything else that i need to change? > > which is the service that I need to restart to make it take effect? > > thanks, > gary > > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list