edit /etc/hostname
then
/etc/init.d/hostname.sh restart
________________________________________
From:
oxlug-bounces@lists.oxlug.org [
oxlug-bounces@lists.oxlug.org] on behalf of Malcolm Blackmore [
mblackmore@oxlug.org]
Sent: 15 July 2010 22:14
To: Oxfordshire Linux User Group Discussion List
Subject: Re: [OxLUG] Embarrasing memory loss - err which file do I edit to change the name of a computer?
On Wed, 2010-07-14 at 18:26 +0100, Philip Wigg wrote:
> > I've completely forgotten how to change the name of a computer.
>
> If it's Redhat
No, its ubuntu in the 9.10 variant. Will check tomorrow - I looked in
hosts but only the 127.0.0.1 address was allocated and changing that
just confused the poor little thing on bootup!