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
Host file modification
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="mastertag" data-source="post: 690233" data-attributes="member: 60879"><p>Answer</p><p></p><p>First you have to enable the root user on the Leapord. It is defaulted that the root user is turned off on Leapord. To turn it on go to:</p><p></p><p>Application-utilities-Directory utility.app</p><p>unlock it if it is locked</p><p>click edit- enable root user and then type in the root user password that you want to make it.</p><p></p><p>Then you have to allow finder to show the hidden files and folders. To do this go to a terminal</p><p></p><p>application-utility-terminal</p><p>in terminal type</p><p>defaults write com.apple.finder AppleShowAllFiles -bool true</p><p>press return</p><p>then type in killall Finder</p><p>press return and then the screen will flicker.</p><p></p><p>Now click on your hardrive</p><p>click on the private folder to highlight it</p><p>click apple I at the same time to view the folder permissions</p><p>at the bottom of the folder permission page that pops up there will be a spot labelled sharing and permissions</p><p>click on add user it is a little plus sign</p><p>add the user that you are logged into as to the folder.</p><p>Give the user read and write permissions then</p><p>click apply to enclosed items.</p><p></p><p>Now go back to finder and open</p><p>private-etc-hosts</p><p>Host should open in editor if not click apple I and change it to open in editor. Add whatever to the host file and click on save. This should allow you to save the changes to the file. Without doing all these steps I was getting an error saying that I did not have the rights to modify and save the file.</p><p></p><p>Hope this helps someone. It was a pain for me.</p></blockquote><p></p>
[QUOTE="mastertag, post: 690233, member: 60879"] Answer First you have to enable the root user on the Leapord. It is defaulted that the root user is turned off on Leapord. To turn it on go to: Application-utilities-Directory utility.app unlock it if it is locked click edit- enable root user and then type in the root user password that you want to make it. Then you have to allow finder to show the hidden files and folders. To do this go to a terminal application-utility-terminal in terminal type defaults write com.apple.finder AppleShowAllFiles -bool true press return then type in killall Finder press return and then the screen will flicker. Now click on your hardrive click on the private folder to highlight it click apple I at the same time to view the folder permissions at the bottom of the folder permission page that pops up there will be a spot labelled sharing and permissions click on add user it is a little plus sign add the user that you are logged into as to the folder. Give the user read and write permissions then click apply to enclosed items. Now go back to finder and open private-etc-hosts Host should open in editor if not click apple I and change it to open in editor. Add whatever to the host file and click on save. This should allow you to save the changes to the file. Without doing all these steps I was getting an error saying that I did not have the rights to modify and save the file. Hope this helps someone. It was a pain for me. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Host file modification
Top