Today I had to update a system profile in RHN. The system is a RHEL 4 and was added to RHN few years ago and the hostname had changed since then. You can change the system name in RHN but you cannot change the hostname or the ipaddress. I just wanted to share with everyone how to update the RHN profile of a host.
Once your hostname is changed, you just have to execute this command:
And voila, you should see the updated hostname on RHN.