changing name of computer

how do i change the name of my computer in suse 11.0 from linux-4vut to a name of my liking?

On Tue, 22 Sep 2009 02:56:01 +0000, rongaines wrote:

> how do i change the name of my computer in suse 11.0 from linux-4vut to
> a name of my liking?

Start YaST and go into the network settings - there’s a page for DNS/
hostname settings and you can change it in there.

Jim


Jim Henderson
openSUSE Forums Moderator

For the qt version of Yast go to Network Services then Hostnames.

Take Care,

Ian

that didnt work. how can i change it from cmd line? or whats the file that i can edit from gedit???

CLI method explained here.

On Tue, 22 Sep 2009 03:26:01 +0000, rongaines wrote:

> that didnt work. how can i change it from cmd line? or whats the file
> that i can edit from gedit???

When you say it didn’t work, what exactly happened?

Did you run YaST as root? If not, you need to.

Jim


Jim Henderson
openSUSE Forums Moderator

Hi
You need to use YaST->Network Devices -> Network Settings and as Jim
pointed out Hostname/DNS tab, you may need to swith to traditional on
the Global options, make your changes then switch back before pressing
the OK button.

Else you need to modify the /etc/HOSTNAME, /etc/hosts, postfix and
re-generate ssh keys…
run the command fgrep -r " linux-4vut" * to see the files…


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 1 day 6:25, 2 users, load average: 0.90, 0.79, 0.96
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

thanks deano & malcom. that worked. its the HOSTNAME file in /etc

again, thank you:)