 |
 |
Editing /etc/hosts in Panther?
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2000
Location: Caracas
Status:
Offline
|
|
Is is OK to edit /etc/hosts in Panther and add entries directly? I know that in previous versions you had to use Netinfo Manager to add hosts.
Thanks,
Miguel
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Mar 2002
Location: north america
Status:
Offline
|
|
Originally posted by MigP:
Is is OK to edit /etc/hosts in Panther and add entries directly? I know that in previous versions you had to use Netinfo Manager to add hosts.
Thanks,
Miguel
Of course it is ok. vi /etc/hosts and add what you want. You didn't have to use Netinfo Manager before or now.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
by the way....what's wrong with using NetInfo?
|
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2002
Location: Adelaide, South Australia
Status:
Offline
|
|
Originally posted by MigP:
Is is OK to edit /etc/hosts in Panther and add entries directly? I know that in previous versions you had to use Netinfo Manager to add hosts.
I've never had problems editing the hosts file before?
Originally posted by Kristoff:
by the way....what's wrong with using NetInfo?
What's wrong with editing a text file? 
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Apr 2001
Location: Bethesda, MD
Status:
Offline
|
|
How about that! It actually worked. I definitely remember previous versions of OS X where the /etc/hosts file was ignored except if you booted into single user mode. Everything was stored in the NetInfo database.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Robinson, IL
Status:
Offline
|
|
Originally posted by davechen:
How about that! It actually worked. I definitely remember previous versions of OS X where the /etc/hosts file was ignored except if you booted into single user mode. Everything was stored in the NetInfo database.
Well, you had to enable BSD flat files in "Directory Access" in 10.2.
--Josh
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
How about that! It actually worked. I definitely remember previous versions of OS X where the /etc/hosts file was ignored except if you booted into single user mode. Everything was stored in the NetInfo database.
True, prior to MacOS X 10.2.
As of Jaguar, however, MacOS X uses both /etc/hosts and NetInfo. (No assembly required.)
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: May 2002
Location: Germany/Heidelberg or Germany/Dresden
Status:
Offline
|
|
Originally posted by Rainy Day:
True, prior to MacOS X 10.2.
As of Jaguar, however, MacOS X uses both /etc/hosts and NetInfo. (No assembly required.)
Hmm, sounds interesting. From where do you know that? Because up to 10.2 /etc/hosts was used only in Single User mode (as far as i know). If you wanted to add a host so that you could call a computer by its name you had to use NetInfo Manager.
Kind regards
Lars
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
Hmm, sounds interesting. From where do you know that?
I first became aware of that here on MacNN early this year (i.e. Jaguar support for /etc/hosts); i knew that 10.0-10.1 did not, by default, support /etc/hosts (except by booting into single user mode). When i read that Jaguar, by default, supported both /etc/hosts and NetInfo, i tried it and, sure enough, it worked.
Because up to 10.2 /etc/hosts was used only in Single User mode (as far as i know). If you wanted to add a host so that you could call a computer by its name you had to use NetInfo Manager.
Yes, prior to 10.2, this is how it worked (although it was possible to configure it to use /etc/hosts, this was not the default and most folks didn't know how to go about it).
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|