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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Mac Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Mac Support Apple Operating Systems and Application Support on Macs

Reply
LinkBack Thread Tools
Old 10-25-2009, 02:46 PM   #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?
StomachsSquirm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 10-25-2009, 11:30 PM   #2 (permalink)
Mac Method Wiz -- Manager
 
sinclair_tm's Avatar
 
Join Date: Mar 2005
Location: Dusty Mexican Border Lands
Posts: 9,595
OS: MS Win XP Pro SP3 & Mac OS X 10.5.8

My System

Blog Entries: 24
Send a message via AIM to sinclair_tm Send a message via MSN to sinclair_tm
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:
it's human nature to stand in line...
-my brother
sinclair_tm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-26-2009, 12:05 AM   #3 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 6
OS: mac os


Re: BLOCKING WEBSITES - Problem With Password In Terminal

Quote:
Originally Posted by sinclair_tm View Post
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.
Well here is what I'm trying to do as quoted,

"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.
StomachsSquirm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-26-2009, 06:06 PM   #4 (permalink)
Mac Method Wiz -- Manager
 
sinclair_tm's Avatar
 
Join Date: Mar 2005
Location: Dusty Mexican Border Lands
Posts: 9,595
OS: MS Win XP Pro SP3 & Mac OS X 10.5.8

My System

Blog Entries: 24
Send a message via AIM to sinclair_tm Send a message via MSN to sinclair_tm
Re: BLOCKING WEBSITES - Problem With Password In Terminal

How do you know it fails? And how are you sure it's the root password?
__________________
.






Quote:
it's human nature to stand in line...
-my brother
sinclair_tm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-19-2009, 08:56 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 6
OS: mac os


Re: BLOCKING WEBSITES - Problem With Password In Terminal

Quote:
Originally Posted by sinclair_tm View Post
How do you know it fails? And how are you sure it's the root password?
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.
StomachsSquirm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-19-2009, 11:28 PM   #6 (permalink)
Mac Method Wiz -- Manager
 
sinclair_tm's Avatar
 
Join Date: Mar 2005
Location: Dusty Mexican Border Lands
Posts: 9,595
OS: MS Win XP Pro SP3 & Mac OS X 10.5.8

My System

Blog Entries: 24
Send a message via AIM to sinclair_tm Send a message via MSN to sinclair_tm
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:
it's human nature to stand in line...
-my brother
sinclair_tm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-20-2009, 03:38 PM   #7 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 6
OS: mac os


Re: BLOCKING WEBSITES - Problem With Password In Terminal

Quote:
Originally Posted by sinclair_tm View Post
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?
Now something weird happened. Since I'm doing thing on a different account, it went like this,

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?
StomachsSquirm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-20-2009, 07:55 PM   #8 (permalink)
Mac Method Wiz -- Manager
 
sinclair_tm's Avatar
 
Join Date: Mar 2005
Location: Dusty Mexican Border Lands
Posts: 9,595
OS: MS Win XP Pro SP3 & Mac OS X 10.5.8

My System

Blog Entries: 24
Send a message via AIM to sinclair_tm Send a message via MSN to sinclair_tm
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:
it's human nature to stand in line...
-my brother
sinclair_tm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-21-2009, 01:17 AM   #9 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 6
OS: mac os


Re: BLOCKING WEBSITES - Problem With Password In Terminal

Quote:
Originally Posted by sinclair_tm View Post
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.

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.
StomachsSquirm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-21-2009, 08:18 AM   #10 (permalink)
Mac Method Wiz -- Manager
 
sinclair_tm's Avatar
 
Join Date: Mar 2005
Location: Dusty Mexican Border Lands
Posts: 9,595
OS: MS Win XP Pro SP3 & Mac OS X 10.5.8

My System

Blog Entries: 24
Send a message via AIM to sinclair_tm Send a message via MSN to sinclair_tm
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:
it's human nature to stand in line...
-my brother
sinclair_tm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Unread Yesterday, 01:57 AM   #11 (permalink)
Registered User
 
Join Date: Oct 2009
Posts: 6
OS: mac os


Re: BLOCKING WEBSITES - Problem With Password In Terminal

Quote:
Originally Posted by sinclair_tm View Post
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?
It is up to date in a sense that I do the automatic updates. In other words, I'm 10.4.11 altho I think it was a 10.4.10 version when I bought it.
Cookie settings? Can you be more specific?
StomachsSquirm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Unread Yesterday, 05:04 PM   #12 (permalink)
Mac Method Wiz -- Manager
 
sinclair_tm's Avatar
 
Join Date: Mar 2005
Location: Dusty Mexican Border Lands
Posts: 9,595
OS: MS Win XP Pro SP3 & Mac OS X 10.5.8

My System

Blog Entries: 24
Send a message via AIM to sinclair_tm Send a message via MSN to sinclair_tm
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:
it's human nature to stand in line...
-my brother
sinclair_tm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:43 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85