Hide terminal password as typing

Check the /etc/sudoers.d folder if pwfeedback file is present. If it is, remove it.

Also check this link.