4
Since clicking on the “I agree” pop-up when logging into a hotel Wi-Fi, my bash
prompt contains some kind of hash in it. The format is now:
<strange hash>:<working dir> <username>
What’s going on? Is this dangerous?
4
Since clicking on the “I agree” pop-up when logging into a hotel Wi-Fi, my bash
prompt contains some kind of hash in it. The format is now:
<strange hash>:<working dir> <username>
What’s going on? Is this dangerous?
11
The "strange hash" is your computer's current name, assigned by the hotel's DHCP server, and accepted by whatever DHCP client you're using. Run the hostname
command to check if my guess is right.
To avoid this in the future:
For dhcpcd, add nohook hostname
to its configuration file. Also find the option ...
settings, and make sure none of them list the host_name
option.
For dhclient, make sure the request ...
settings do not list the host-name
option.
@Walrus the Cat can you provide a screnshot? – vfbsilva – 2014-11-04T18:15:28.783