One of the first things a new Linux user will notice is the fact that there are no asterisks (*) when you enter your password in a terminal. The purpose behind this is added security so a random person looking over your shoulder won’t be able to see how many characters your password is. If this is something you’re not worried about and you’d like to see the asterisks, it is possible to get them back.
Run the following command in a terminal.
When the file opens, locate the following line.
Defaults env_reset
Then add this part to that line.
Defaults env_reset,pwfeedback
Now press CTRL + o to overwrite the file, then press Enter to save the file.
Press CTRL + x to close the file.
That’s it! Close your terminal and reopen it, then try running a command that requires a password and you’ll see the asterisks appear as you type.