It can be changed graphically in openSUSE. To do so click on kicker (), then select Computer (), finally click on YAST (). Running YAST requires root (administrative) password, so for this screen supply your root password.
Figure 1. Enter root password.
Once root password is entered you should see this screen.
Figure 2. YaST Control Center
Now click on Network Devices then Network Settings.From Network Settings, select Hostname/DNS tab.
Figure 3. YaST2 Network Settings
Supply new value for the hostname field, click on OK and you are done.