Is my Mac hacked? Terminal shows username@wlan

Hi normally my terminal prompt looks like this:


Last login: Sun Nov 17 13:47:09 on ttys000

username@MacBook-Pro-van-Gregory ~ % 


But when I connect to wifi than, I get the following message when starting the terminal:


Last login: Sun Nov 17 13:48:09 on ttys000

username@wlan-145-94-166-201 ~ % 


Does anyone know what that "@wlan-145-94-166-201 ~ % "means? Does it mean that my Mac has been hacked and someone can acces my files?


Please help me out.


Gregory Sanders



MacBook Pro 13”, macOS 10.15

Posted on Nov 17, 2019 4:53 AM

Reply

Similar questions

2 replies

Nov 17, 2019 8:17 AM in response to Gregory-S

Gregory-S wrote:

Hi normally my terminal prompt looks like this:

Last login: Sun Nov 17 13:47:09 on ttys000
username@MacBook-Pro-van-Gregory ~ % 

But when I connect to wifi than, I get the following message when starting the terminal:

Last login: Sun Nov 17 13:48:09 on ttys000
username@wlan-145-94-166-201 ~ % 

Does anyone know what that "@wlan-145-94-166-201 ~ % "means? Does it mean that my Mac has been hacked and someone can acces my files?



No, not hacked.


Change your computer's name or local hostname on Mac ...


You can customize your zsh prompt here:

~/.zshrc

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is my Mac hacked? Terminal shows username@wlan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.