- Joined
- Feb 26, 2008
- Messages
- 542
- Reaction score
- 25
- Points
- 28
Hi All,
First, please know I'm well aware of how to edit the Hosts file using Terminal... But what I really want to do is edit it using Smultron 4 (which I'd done in the past with Lion and Snow Leopard). That said, I just can't seem to defeat Apple's security in Mountain Lion... Now, setting aside the security implications -- and I know some of you have strong feelings about users being "rightly" disallowed dominion over their own computers -- do any of you have advice on how I can accomplish my desired goal of editing my Hosts file using any text-editing application I want?
Things I've tried already:
Thanks in advance!
Z
First, please know I'm well aware of how to edit the Hosts file using Terminal... But what I really want to do is edit it using Smultron 4 (which I'd done in the past with Lion and Snow Leopard). That said, I just can't seem to defeat Apple's security in Mountain Lion... Now, setting aside the security implications -- and I know some of you have strong feelings about users being "rightly" disallowed dominion over their own computers -- do any of you have advice on how I can accomplish my desired goal of editing my Hosts file using any text-editing application I want?
Things I've tried already:
- Changing permissions on the Hosts file using the Get Info window to give myself read/write privileges
- Taking ownership of the file
- AppleScript (do shell script "open /Applications/Smultron\\ 4.app/ /etc/hosts" with administrator privileges)
- Changing permissions for the entire ETC folder (which works - but is somewhat less than ideal given that it leaves everything else exposed that doesn't need to be)
Thanks in advance!
Z