Nothing shows up in the terminal when I type my password
Solution 1
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.
Solution 2
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 sudo
and only for sudo
by editing options in the sudoers file.
Warning: The instructions below are for advanced users only. If something goes wrong when editing the sudoers file, and this file is inaccessible or malformed you will have effectively locked out yourself and any other administrator users of performing any administrative tasks in your system. It is not a good idea to do this on a productive system.
To enable password feedback by asterisks *
when running the sudo
command we have to edit the sudoers file with
sudo visudo
We then will have to add pwfeedback
to the default options as shown below:
Defaults env_reset,pwfeedback
Solution 3
Passwords are hidden so no-one can see over your shoulder when you enter it. It's a security measure.
Solution 4
Password is not shown when you write it in the terminal after the sudo
command but it is still read. Is this the case here? i.e. have you tried to give your password and press Enter?
Solution 5
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.
Related videos on Youtube
Lazloinn
Updated on September 18, 2022Comments
-
Lazloinn over 1 year
When I'm about to install a program in the terminal it wants the password:
[sudo] password for xxx:
But when I start to type my password nothing happens. What should I do?
-
sparkmood almost 10 yearsTerminal doesn't echo you keyboard's input cause of security reasons, so you're not able to see any character.
-
Eliah Kagan over 6 yearsRelated (but not a duplicate): What would be the concept behind the password not being echoed on cli
-
abc over 6 yearsIn Lubuntu 17.10 (Artful Aardvark, 32-bit) I had to type my password twice.
-