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

Jim Buzbee jbuzbee at nyx.net
Thu Jun 5 12:43:55 MDT 2008

On Thu, 5 Jun 2008 dio2002 at indra.com wrote:

> any mac users out there?
> what is the mac account that gets you root access?

You want to use "sudo" from an account with "admin" privs, i.e.:

# sudo vi /etc/hosts

As to whether editing the host file is a good thing, that's another story.


Jim Buzbee				"I was gratified to be able to 
jbuzbee at nyx.net				answer promptly, and I did. I
http://batbox.org			said I didn't know."   Mark Twain

More information about the LUG mailing list