| Apple Desktops Discussion of Apple's desktop machines including Mac Pro, iMac, Power Mac, and mini |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
|
Guest
Posts: n/a
|
hi,
I need to add entry in hosts file, for which it says not permitted message. Looks like i need root access, but i dont know the password for root. I have only one account set on this iMac and tried that password too. Can someone let me know how to add entry on the hosts file or enable root access. Karthik www.marskarthik.com |
| QUOTE Thanks | |
![]() Member Since: Aug 27, 2005
Location: Fayetteville, AR
Posts: 2,410
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 15" Powerbook G4 • 24" iMac • iPhone 3Gs
|
To enable root access you can download a program called PseudoX that let's you open any program as Root (in this case you'd open Finder).
Or you could do it from the command line by entering: $ sudo -s This however would limit you to command line and Terminal. I try to Command+Shift+/ when I can. They're - Their - There | Two - Too - To | You're - Your | MAC - Mac I was on the M-F honor roll for October, 2006.
|
| QUOTE Thanks | |
![]() Member Since: Feb 09, 2005
Location: Near San Diego, CA
Posts: 2,339
![]() ![]() ![]() ![]() Mac Specs: MacBook Pro 13" | MacBook Pro 13" | Mac Mini 2GHz C2D
|
login as admin user open terminal type: cp /etc/hosts /users/username/desktop/hosts.txt go to your desktop and edit teh hosts file and save go back to terminal type: sudo cp /users/username/desktop/hosts.txt /etc/hosts it will ask you for a password enter the admin password. |
||||
| QUOTE Thanks | |||||
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Not too pleased with new iMac | JunMacTech | Apple Desktops | 14 | 12-05-2005 07:13 PM |
| What is the OS X equal to Windows HOSTS file? | mynameis | OS X - Operating System | 3 | 05-03-2005 10:34 AM |
| Can you guys open this site? | Desolate One | OS X - Apps and Games | 13 | 04-29-2005 01:23 PM |
| editing hosts file on OSx | blackwaterdev | Switcher Hangout | 2 | 02-24-2005 08:51 PM |
| Where is the hosts file? | Stoomie | OS X - Operating System | 3 | 08-10-2004 03:59 PM |
All times are GMT -4. The time now is 04:28 AM.
Powered by vBulletin