0

Screenshot

Maylinniniphone shows up in my terminal when i'm at the university.. It can be other pc's too.. Why? and is there a security hole?

1
  • easy way to tell; run nslookup Maylinniniphone, note its IP address, and check ifconfig to determine whether it has the same address as the nslookup result. Commented Oct 5, 2017 at 16:53

1 Answer 1

2

That's due to a badly configured DNS and DHCP server.

Basically at some point shortly before you connected 'Maylinniniphone' was using the same IP you've now been given, and it's not yet updated the DNS record for that IP to return your own hostname instead.

2
  • Ok. So should I not be worried? :) Commented Oct 5, 2017 at 17:59
  • in this case, no, because the prompt header token is just your machine name, based on DNS lookup. if you saw other people in w or who or ps that would be alarming, but its just your prompt. here is some info on how to configure your prompt header; perhaps you will find an option that doesn't rely on external host name resolution via DNS. osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt Commented Oct 5, 2017 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .