# changing computer name  from user@linux-3yad to user@Beta:

**URL:** <https://forums.suse.com/t/changing-computer-name-from-user-linux-3yad-to-user-beta/29012>\
**Category:** SLED Configure-Administer\
**Created:** [November 18, 2016, 11:50pm UTC](https://forums.suse.com/t/changing-computer-name-from-user-linux-3yad-to-user-beta/29012 "2016-11-18T23:50:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![teamgh](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@teamgh](https://forums.suse.com/u/teamgh)\
**Post date:** [November 18, 2016, 11:50pm UTC](https://forums.suse.com/t/changing-computer-name-from-user-linux-3yad-to-user-beta/29012/1 "2016-11-18T23:50:21Z")

</div>

Hello, I would like to change the name of the computer name or host name from the generic name given on installation to one that I set.

The xterm command prompt shows the following  
username@linux-3yad:~\>

I would like to change the hostname/computer name to Beta so the command prompt looks like:

username@Beta:~\>

Any ideas or pointers on how to change the computer name???

I have installed SLED-12 and trying to figure out how to change this since I do not recall seeing the option to name the computer or host during the SLED install process when I upgraded from Tumbleweed. It did not carry over the name of the host/computer during that upgrade.

Thanks you for your input  
Ag

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [November 19, 2016, 2:09am UTC](https://forums.suse.com/t/changing-computer-name-from-user-linux-3yad-to-user-beta/29012/2 "2016-11-19T02:09:56Z")

</div>

Hi  
You can change it via YaST → System → Network Settings and under the Hostname/DNS tab.

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [November 19, 2016, 5:41am UTC](https://forums.suse.com/t/changing-computer-name-from-user-linux-3yad-to-user-beta/29012/3 "2016-11-19T05:41:07Z")

</div>

There are also hostnames associated with NICs themselves and I’ve had good  
luck recently (with SLES 12 SP2 as I recall) changing things there. Yast  
does some magic to set the /etc/HOSTNAME file based on one of those.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…
