![]() Press the down arrow key to position the cursor below the default set of rules. If your account doesn't have a password, select "System Preferences" in the Dock, click "Users & Groups," select your administrator account, click the "Change Password." button, and then enter a new password. You must set up a password for your account to make changes in Terminal. Type your administrator account password, and then press the "Enter" key. ![]() "Sudo" indicates that you want to gain administrator access, "nano" tells Terminal the program to use - in this case, the Nano text editor - and the pathname indicates the location of the "hosts" file. Type "sudo nano /private/etc/hosts" in the Terminal window, and then press the "Enter" key. You can open this file later if you find the changes you made to your system resulted in unintended behaviors. ![]() Type "sudo cp /private/etc/hosts ~/Documents/hosts-backup" (omit the quotes here and throughout) to create a backup of the "hosts" file before editing.
0 Comments
Leave a Reply. |