Add the line Default pwfeedback to the sudoer file to enable asterisks when typing in passwords for sudo
sudo visudo