Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
System Preferences displays wrong hostname
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gamblor01" data-source="post: 1185578" data-attributes="member: 93231"><p>I don't know why, but my 10.6 system keeps displaying the wrong hostname in System Preferences > Sharing. Whenever I enable file sharing or web sharing, it tells me that other users can connect to my system by visiting afp://rogergreenlaw or <a href="http://rogergreenlaw" target="_blank">http://rogergreenlaw</a>. That's odd because the hostname for my system is euclid! If I ssh to another system on my network (for example, my Ubuntu system) the terminal will show that the last login was from rogergreenlaw. ARGGG!!!!</p><p></p><p>I think rogergreenlaw was the hostname of my neighbor's computer...he brought it over for me to fix some things not too long ago and now for some reason my system seems to be displaying that hostname. Things get even more bizarre as his system is Windows 7.</p><p></p><p>I have checked and the text field at the top of the System Preferences > Sharing screen says "euclid". I also just recently ran "sudo scutil --set HostName euclid" and rebooted but it still shows rogergreelaw in the individual sharing panels.</p><p></p><p>How on earth can I get this machine to have the correct hostname? Right now I am running a recursive grep on / to see if I can find the bogus hostname (sudo grep -rn "rogergreenlaw" /). Any other ideas?</p></blockquote><p></p>
[QUOTE="gamblor01, post: 1185578, member: 93231"] I don't know why, but my 10.6 system keeps displaying the wrong hostname in System Preferences > Sharing. Whenever I enable file sharing or web sharing, it tells me that other users can connect to my system by visiting afp://rogergreenlaw or [url]http://rogergreenlaw[/url]. That's odd because the hostname for my system is euclid! If I ssh to another system on my network (for example, my Ubuntu system) the terminal will show that the last login was from rogergreenlaw. ARGGG!!!! I think rogergreenlaw was the hostname of my neighbor's computer...he brought it over for me to fix some things not too long ago and now for some reason my system seems to be displaying that hostname. Things get even more bizarre as his system is Windows 7. I have checked and the text field at the top of the System Preferences > Sharing screen says "euclid". I also just recently ran "sudo scutil --set HostName euclid" and rebooted but it still shows rogergreelaw in the individual sharing panels. How on earth can I get this machine to have the correct hostname? Right now I am running a recursive grep on / to see if I can find the bogus hostname (sudo grep -rn "rogergreenlaw" /). Any other ideas? [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
System Preferences displays wrong hostname
Top