Forum Thread: Terminal Host Name Changes After Connecting to the Internet.

Terminal Host Name Changes After Connecting to the Internet.

Hello guys,

i know that this is a newbie question, but unfortunately i couldn't find the answer to it so i decided to post here hoping to find an explanation.

I'm using kali linux and when i open up a terminal the host name is root@localhost but as soon as i connect my computer to the Internet it changes to root@pc.(in case opening a new terminal)

i doubted that i was hacked so i ran a scan on my computer using clamscan but didn't return any problems , but I'm still not in peace of mind .

Thank you guys.

1 Response

Do you have a default hostname set? Change it in settings.

Share Your Thoughts

  • Hot
  • Active