Re: [ubuntu-uk] Changing name of computer

2009-11-15 Thread mac
Sean Miller wrote:
> sudo hostname 
> 
> that's how I'd do it, rather than manually edit files.

Does the change persist across re-boots?  man hostname/dnsdomainname says

"When called with one argument or with the --file option, the commands 
  set the host name or the NIS/YP domain name.  Note that this is 
effective  only  until  the  next  reboot.  Edit /etc/hostname for 
permanent change."

mac


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Changing name of computer

2009-11-15 Thread Sean Miller
sudo hostname 

that's how I'd do it, rather than manually edit files.

Sean

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Changing name of computer

2009-11-15 Thread Jonathon Fernyhough
2009/11/15 John Matthews :
> How do you change the name of a computer. I am running Ubuntu on a
> partition. Do I have to change it in windows, or in Ubuntu. I just
> discovered I have two computers with the same name.
>

AFAIK the only place you need to change the hostname is in the files
/etc/hostname and /etc/hosts

$ gksudo gedit /etc/hostname
$ gksudo gedit /etc/hosts

If you change the name in Windows it is only the name in Windows that
will change, and if you change the name in Linux only the name in
Linux will change.

Jonathon

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Changing name of computer

2009-11-15 Thread John Matthews
How do you change the name of a computer. I am running Ubuntu on a 
partition. Do I have to change it in windows, or in Ubuntu. I just 
discovered I have two computers with the same name.

Thanks

John.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/