Zend certified PHP/Magento developer

Can’t change default password in Kali-linux

I always log into Kali-linux using the default password. When I try to change it in the terminal using sudo passwd kali, it prompts me to type new password. When try to type new password it just I can’t type anything. I can still use the mouse though so I can’t quite figure out the problem. (I use raspberry pi 4.)