Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.
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

1 Answer 1

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
1  
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

 
discard

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.