So I have an old laptop that I'm trying to use, for some reason when it wants me to put password in terminal it won't take input .to terminal

I was trying to get a browser and when it asked for password to get sudo the terminal wasn't taking any input to the prompt, I'm on xfce

I had a similar issue with Debian where it wouldn't log me in