By default, sudo doesn’t show any feedback when you type your password. You can enable pwfeedback to show asterisks as you type your password, like so:
cinar@fedora ~$ sudo -v
[sudo] password for cinar: *************
one should NEVER open the
/etc/sudoersfile with a normal text editor. always usesudo visudo.
-
open the
/etc/sudoersfile by runningsudo visudo. -
add this line to the end of the file:
Defaults pwfeedback
- save and exit.
you might need to kill your existing sudo session with
sudo -k.
while you are here, you might also want to insult users on wrong password or change the sudo timeout so you don’t have to type your password so often. in either case, click the relevant link.