[lug] Mac unix root account and /etc/hosts

dio2002 at indra.com dio2002 at indra.com
Thu Jun 5 13:29:53 MDT 2008

actually i believe it will affect it.  after you make the changes to the 
hosts file you have to run some mac command (i have link that documents 
the cmd somewhere) which probably updates the db you're talking about.

>>> i'm trying to help somebody with a mac.  i need to change /etc/hosts.  i'm
>>> able to use terminal to get to the shell.  i can't save changes to
>>> /etc/hosts because i'm not root.  i've tried su but it wants a root
>>> password.
> I'm pretty sure that changing /etc/hosts won't have any effect at all.
> It only exists for compatibility with older BSD software.
> OS X saves its host, password, DNS, services, and everything else like
> that in some database format and I'm not sure how to change it.
> ------------------------------------------------------------------------
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

More information about the LUG mailing list