Ubuntu – How to get sudo to accept the password

installationsudo

I am trying to install subversion on my Ubuntu 12.04 desktop. I follow the commands to start this process, using apt-get:

sudo apt-get update
sudo apt-get install subversion

Either of the above commands then ask me to enter my password. Though my user password allows me to get into Ubuntu, when I enter it here there is no echo back as I enter the password. It acts like nothing is being entered at all. Then when I hit enter, it tells me it failed x number of times. When I have tried to enter it the third time it bombs out and tells me this will be reported.

It does not tell me who it reports it to, considering it is my machine and my desktop installation of Ubuntu 12.04.

I am new to Linux but a very experienced Windows User. I am trying to switch mostly over to Linux (Ubuntu). Am I doing something wrong?

Best Answer

I think there might be a different problem here:

When you get your password wrong three times and you are in the sudo group the result is:

sudo: 3 incorrect password attempts

Only when you are NOT in the sudo group, will it say something like "this incident will be reported".

Therefore, check whether you are in the sudo group with id, which will show all the groups you belong to.

If you are not in the sudo group, then you will probably have to boot from a live CD and follow the instructions here (but add yourself to sudo rather than admin if you're running Ubuntu 12.04). You won't be able to use pkexec if you are not in the sudo group, so that won't be a solution unfortunately.