Score:0

User password incorrect when using terminal

au flag

Just started using ubuntu and I'm having an issue when using the terminal. I enter the command prefaced by sudo and it asks for my password, however when I enter my password it says password incorrect. What am I doing wrong?

I'm not a pc expert so apologies if this is a dumb question.

Thanks

CrazyTux avatar
us flag
It sounds like you are entering a wrong password, you need to enter you user login password after executing the command, for another option check this topic https://serverfault.com/questions/424775/sudo-rejects-password-that-is-correct
GT83 avatar
au flag
Hi thanks for the reply. I am definitely entering my user password the same as my login, I haven't set up any other password, I've also typed it and copy and pasted it and it still says incorrect password
hr flag
What is the message, *exactly*? the default message from sudo should be `Sorry, try again.` rather than "password incorrect". Is your system language English, or something else? What about your keyboard layout? Does the password contain any special characters?
GT83 avatar
au flag
Ok so I'm confused. I have literally entered my password at least 10 times since yesterday afternoon, and it wouldn't work. Ive just typed it again to check the error message as you asked and it's worked. I dont know what to say other than thanks for your help and honestly I'm not that dumb to have mistyped my password so many times.
HuHa avatar
es flag
Did you check if CapsLock was on? That's a very common problem. Also, are you using different keyboard layouts? For example in the German keyboard layout, `Z` and `Y` are swapped, so if your password contains either of these, it's easy to get it wrong when the keyboard layout was different when you set the password from when you tried to enter it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.