hey there-
an upgrade or 2 ago, I noticed that Terminal lost all sense of the machinename ("greenthing") and always reverts to localhost.
- the login screen correctly shows "greenthing" as the name.
- systemprefs -> sharing correctly shows "greenthing"
- /etc/hostconfig has this line in it:
APPLETALK_HOSTNAME=greenthing
- /Library/Preferences/SystemConfiguration/preferences.plist has greenthing set as the Network and System Hostnames
AND YET:
- in the terminal, my prompt, which should have the hostname, shows "localhost".
- "echo $HOST" returns localhost
- the command "hostname" returns localhost
if I do a "sudo hostname greenthing", it gets set correctly but does not survive a reboot.
what's going on? at the moment it isn't causing any problems, but has been a mystery for over a year now.
thanks!
mark
system info: g4 fw800, 10.3.7, shell=tcsh
an upgrade or 2 ago, I noticed that Terminal lost all sense of the machinename ("greenthing") and always reverts to localhost.
- the login screen correctly shows "greenthing" as the name.
- systemprefs -> sharing correctly shows "greenthing"
- /etc/hostconfig has this line in it:
APPLETALK_HOSTNAME=greenthing
- /Library/Preferences/SystemConfiguration/preferences.plist has greenthing set as the Network and System Hostnames
AND YET:
- in the terminal, my prompt, which should have the hostname, shows "localhost".
- "echo $HOST" returns localhost
- the command "hostname" returns localhost
if I do a "sudo hostname greenthing", it gets set correctly but does not survive a reboot.
what's going on? at the moment it isn't causing any problems, but has been a mystery for over a year now.
thanks!
mark
system info: g4 fw800, 10.3.7, shell=tcsh