Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DeafRaiders

macrumors regular
Original poster
Hi,

I need to configure my(mini mac 2009) and my cousins(iMac 27 2011) host file to access our website which is not prepare to launch yet.

We both don't know the admin passwords via terminal. Is there any other way to access the host file?
 
We both don't know the admin passwords via terminal. Is there any other way to access the host file?

if you have admin privileges, you should be able to do sudo

sudo vi /etc/hosts

if you don't, then you need to "reset" the password using boot from recovery/cd
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.