![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Mac Support Apple Operating Systems and Application Support on Macs |
![]() |
| LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 6
OS: mac os
|
BLOCKING WEBSITES - Problem With Password In Terminal
Hey there folks,
I already have some idea in terms of how to block a website on Safari by reading one of the threats on here. One quick problem is, my password isn't accepted in Terminal. It keeps noting '..sudo: incorrect password... sorry, try again.' I reset the password a few times; It's 8 characters long with letters and numbers. Any clue as to why it's happening? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) | |
|
Mac Method Wiz -- Manager
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
sudo isn't for your user password, but the password for the root. But you also must have admin permissions and be logged into an admin account to invoke sudo.
__________________
. ![]() ![]() ![]() Quote:
|
|
|
|
|
|
|
#3 (permalink) | |
|
Registered User
Join Date: Oct 2009
Posts: 6
OS: mac os
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Quote:
"Use Finder to search for the application Terminal. In there type: sudo pico /etc/hosts Enter your root password. Use the arrow keys to move down to the bottom line and then type: 127.0.0.1 www.thesiteyouwanttoblock.com There is a space between 127.0.0.1 and www. User Ctrl+X to exit and Y to Save. Then type lookupd -flushcache Quit the Terminal and restart Safari." So as soon as I enter "sudo pico /etc/hosts", I get a WARNING:... Then I get to enter the password which I think is the root password, but it fails. What am I doing wrong? Last edited by StomachsSquirm; 10-26-2009 at 12:07 AM. |
|
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 6
OS: mac os
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
I'm telling you this doesn't look right. It ASKS for the root password. But when I write the root password, it keeps rejecting. I know I was putting the right password.
Last edited by StomachsSquirm; 11-19-2009 at 08:57 PM. |
|
|
|
|
|
#6 (permalink) | |
|
Mac Method Wiz -- Manager
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Again, how do you know it is failing? When you type in passwords in the terminal, there is no feedback. What are you seeing after you type in the password and hit return?
__________________
. ![]() ![]() ![]() Quote:
|
|
|
|
|
|
|
#7 (permalink) | |
|
Registered User
Join Date: Oct 2009
Posts: 6
OS: mac os
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Quote:
WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: Sorry, try again. Password: hominin is not in the sudoers file. This incident will be reported. ..-..-computer:~ hominin$ postdrop: warning: unable to look up public/pickup: No such file or directory What do you think? |
|
|
|
|
|
|
#8 (permalink) | |
|
Mac Method Wiz -- Manager
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
It gives that error because hominin isn't an admin on the Mac. If it is an admin account, then there is something wrong with the permissions on the Mac, and you should fix permissions.
__________________
. ![]() ![]() ![]() Quote:
|
|
|
|
|
|
|
#9 (permalink) | |
|
Registered User
Join Date: Oct 2009
Posts: 6
OS: mac os
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Quote:
Yeah I figured. Anyway, the whole blocking thing doesn't really do much though, doesn it? I mean, is there another way to avoid getting those annoying pop-ups from partypoker.com / nytimes... sites? The reason I went after blocking was that the pop-up blocker in either Safari or Firefox wasn't working. Any suggestions? Last edited by StomachsSquirm; 11-21-2009 at 01:26 AM. |
|
|
|
|
|
|
#10 (permalink) | |
|
Mac Method Wiz -- Manager
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Yes, this won't block popups, that is a different thing all together. What version of the OS are you running? ANd is it all up to date? Also, what are your cookie settings?
__________________
. ![]() ![]() ![]() Quote:
|
|
|
|
|
|
|
#11 (permalink) | |
|
Registered User
Join Date: Oct 2009
Posts: 6
OS: mac os
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Quote:
Cookie settings? Can you be more specific? |
|
|
|
|
|
|
#12 (permalink) | |
|
Mac Method Wiz -- Manager
|
Re: BLOCKING WEBSITES - Problem With Password In Terminal
Open the preferences, under the menu "Safari:Preferences...", click on the icon at the top of the box that opens that is labeled "Security" and then look under the "Accept cookies" section.
__________________
. ![]() ![]() ![]() Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
|
|