How to make change in hostname
I am currently running RedHat 9. When I did the initial install I accidently gave it the wrong host name and need to change it. As root I have typed hostname redhat9. That changes it until I reboot then the incorrect one comes back. In the startup messages I see a message where it sets to host name to the incorrect name very early in the startup.
Where is it getting the old name at startup and how do I change it. I guess I can put a line in rc.local but there should be a better way.