Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Password not working with Sudo

Hi, I hope someone can help with this.


I'm trying to run a sudo command in Terminal and when it asks for my password I get "Sorry, try again".


My user account is set up as Admin and I've even tried enabling root user but that didn't make any difference.


The last time I tried sudo was in Snow Leopard and it worked fine. My current install was clean in Lion and then upgraded to 10.8 so there shouldn't be anything hanging around from the old 10.6 install.


Any suggestions as to how I can get my password to work would be appreciated.


Thanks

iMac, OS X Mountain Lion (10.8.1)

Posted on Sep 3, 2012 3:48 AM

Reply
35 replies

Jun 29, 2013 6:13 PM in response to Alberto Ravasio

The problem (for me at least) is TextExpander. God knows how many times I have "nuked & paved" my Air in order to get rid of this problem.


TextExpander has a setting that capitalises the first letter of the first word of a "sentence". You type your password correctly & TextExpander cleverly capitalises the first letter. You can turn this feature off on an app by app basis in the Preferences.


If you are not using TextExpander then have a look at what else you are running that does something similar i.e. autocorrect or something like this.


I have conatcted Smile & also had this problem echoed at https://discussions.apple.com/thread/4607694?start=0&tstart=0 by joshsmith01.


Hope this helps.

Jul 1, 2013 4:19 PM in response to mchw

Thanks for the suggestion Mchw. I can't believe after all this time the solution has finally been discovered. It was exactly as you said, the problem was auto capitalisation in Text Expander. After quitting TE my sudo password worked, so I restarted TE then in TE preferences excluded Terminal.app from the auto capitalise function and everything is now as it should be. Thanks again for posting the solution.

Password not working with Sudo

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.