0

Possible Duplicate:
Change computer name of an Ubuntu desktop computer

I have a system and don't like the user sees the Ubuntu name while system is shutting down(i replaced the splash when starting)

I want to know how can i Change my Ubuntu name in console (you can see by pressing ctrl+alt+F1) from UBUNTU to something else.

2

3 Answers 3

1
  • Edit /etc/hostname with your editor of choice:
sudo vi /etc/hostname

save the file with your new hostname.

  • You should also edit the hosts file:
sudo vi /etc/hosts

in there you will see the old hostname which may look something like this:

192.168.0.99        oldhostname

change it so it looks like this, then save and exit:

192.168.0.99        newhostname

restart the hostname service:

sudo /etc/init.d/hostname.sh restart
0

Copied from the original; migration appears to have bugged out at the precise second I submitted:

Take a look at the hostname command. You might also need to tweak, e.g. /etc/hosts.

0

Change the hostname value:

hostname "newservername"

in the /etc/hostname to make it survive reboots.

Not the answer you're looking for? Browse other questions tagged .