Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Simpler solution..' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Simpler solution..
Authored by: anrkngl on Mar 12, '02 07:38:25AM
Under most unices you can read and set your hostname with the hostname command. hostname returns your FQDN (system.domain, in my case lacroix.lowmagnet.org) hostname -s returns your system name (in my case lacroix) I would use hostname spaz.lowmagnet.org to set my system name to spaz. I would try this on my mac, but it's asleep and I didn't set it to wake on lan connections. oops.

[ Reply to This | # ]
Simpler solution..
Authored by: uscmacguy on Mar 12, '02 06:20:35PM

This solution only sets the hostname for the unix part of the system. The login panel and the shareing prefs part still would have what ever name is in the prefrenses.xml file



[ Reply to This | # ]
Not so simple....I think
Authored by: MacMunky on Mar 13, '02 01:16:55PM
I also use the hostname command in other unices to set the machine's name. But for some reason it hasn't worked for me in OS X. It sets the hostname temporarily but after a reboot it resets to localhost.

[ Reply to This | # ]