When I'm about to install a program in the terminal it wants the password:
[sudo] password for xxx:
But when I want to type my password it happens nothing. What should I do?
|
When I'm about to install a program in the terminal it wants the password:
But when I want to type my password it happens nothing. What should I do? |
|||||||||||||
|
|
Even though no characters appear when you type your password, you are actually typing your password. So type password, then hit Enter and see the magic. |
||||
|
|
|
For security reasons there is no feedback of passwords given in the terminal. Read the following discussion on reasoning behind this and why this will not be implemented: In this discussion, and also given in the answer to a corresponding question at superuser There is an option to enable password feedback for
To enable password feedback by asterisks
We then will have to add
|
||||
|
|
|
Passwords are hidden so no-one can see over your shoulder when you enter it. It's a security measure. |
|||
|
|
|
Password is not shown when you write it in the terminal after the |
||||
|
|
|
Nothing is supposed to happen, just type the password and hit Enter. |
||||
|
|
|
When using the terminal, for security reasons (Like if someone is standing just behind you and has nothing else to do but stare at your screen while you type a password) you will never see your typed password. You are effectively typing it even if you don't see it. So just type your password and press ENTER
Here I am checking one of my drives. As you can see, it would look like I did not type my password but I indeed have. |
|||
|
|
|
For security reasons, characters typed in at the password request prompt are not echoed back to the terminal. Type your password and hit enter. The characters are there, you just can't see them, that's all. |
|||
|
|
|
Don't worry, it is a common and positive behavior. Because the output of any software can be logged to a permanent storage (like the hard disk) in a format readable by humans, the Linux libraries used by most terminal softwares (in your case the This both prevents passive screen logging and people near you from catching the password. Have a nice day and remember to type quickly, because anyone can still see your physical keyboard! :-) Important: when you see a password field, insert the |
|||
|
|