Change hostname in RHEL5
Want to change your hostname to be the fully qualified name?
Edit: /etc/sysconfig/network and replace HOSTNAME=<old> with something new.
You’ll need to restart your network connection:
(sudo /sbin/ifdown eth0; sudo /sbin/ifup eth0);
[edit] this actually didn’t appear to work… [/edit]