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


Click here to return to the 'Adding host entries to OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Adding host entries to OS X
Authored by: tomsinclair on Nov 23, '00 06:48:59PM

As a long-time UNIX geek, I was also
puzzled by the fact that /etc/hosts on OS X
didn't appear to work correctly.

However, I finally figured out that OS X
uses a special database known as
NetInfo for all of its network information.
(Hence the name.)

Anyway, to modify this you have to use a
program called NetInfo Manager which
should be in your Utilities folder. When
you open it, you'll be presented with a
browser-type view of such information as
hosts, users, etc.

To add a host entry, you have to click on
the category labelled 'machines' which
will then display a list of the know hosts
for your computer. The easiest thing to
do is to make a copy of an existing entry
and then modify the name and IP
address for the copy to match that of the
host you're trying to add. (You'll have to
authenticate as an administrator to make
changes.)

I know this sounds kind of weird but I'm
just beginning to study NetInfo and still
learning myself.



[ Reply to This | # ]
Adding host entries to OS X
Authored by: j-beda on May 11, '01 03:22:43PM
There might be more useful information at this hint:
http://www.macosxhints.com/article.php?story=20010328234510985.

[ Reply to This | # ]