Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Mountain Lion Hosts File
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Shikarnov" data-source="post: 1506961" data-attributes="member: 49413"><p>Hi All,</p><p></p><p>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?</p><p></p><p>Things I've tried already:</p><ul> <li data-xf-list-type="ul">Changing permissions on the Hosts file using the Get Info window to give myself read/write privileges</li> <li data-xf-list-type="ul">Taking ownership of the file</li> <li data-xf-list-type="ul">AppleScript (do shell script "open /Applications/Smultron\\ 4.app/ /etc/hosts" with administrator privileges)</li> <li data-xf-list-type="ul">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)</li> </ul><p></p><p>Thanks in advance!</p><p></p><p>Z</p></blockquote><p></p>
[QUOTE="Shikarnov, post: 1506961, member: 49413"] 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: [LIST] [*]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) [/LIST] Thanks in advance! Z [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Mountain Lion Hosts File
Top