I have a dual boot and both Vista and Linux have been using the same hostname.
I am not confident in just changing /etc/hostname to a new hostname, I am not sure if this will break things. I need to change it because my original "empire" is the same as the computer name already on Active Directory. I can't throw Linux onto the active directory server without changing this because it would conflict with the Windows Vista install I use as dual boot on this machine under the same name. If this all works I might never boot Vista again!
I thought of just changing a two files, /etc/hostname and /etc/hosts
/etc/hosts (orginal)
Code:
127.0.1.1 empirelin empire
This looks like it will prevent apps looking for "empire" on the local machine from breaking but I have the hunch of it being nothing but a dirty hack.
So what is the safest way to change /etc/hostname file from "empire" to "empirelin" without confusing my poor installation?
Another way to phrase that question is: am I about to do a silly and break everything?
I could best put it in laygeek terms (:P) that I consider leaving an entry in /etc/hosts for the old one legacy support!