Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
sudo ls

All of a sudden it says password incorrect. I am 100% sure of my password. I don't know what happened. Hacked ?

share|improve this question
Type your password plain into the shell (you can transpose characters). It might be a keyboard layout / character set related issue you will be able to notice this way. – Daniel Beck Jan 30 '12 at 12:45
up vote 1 down vote accepted

Have you verified your password is correct by authenticating through the GUI? An easy way is to go to System Preferences > Accounts and click the lock icon. Also, verify that your user account has not lost administrative privileges (you can do this from the same preference pane). If you've lost administrative privileges the issue may be related to something else.

share|improve this answer
It got unlocked. So the password didnt get changed. Anyhow, I closed terminal and restarted it, and its all working. Thanks. – anjanesh Jan 30 '12 at 12:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.